Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Filament Flex Layout Laravel Package

kingmaker/filament-flex-layout

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enhancing UX for complex forms: Justify adopting this package if your Filament admin panel includes multi-column forms or infolists requiring precise alignment (e.g., multi-step workflows, side-by-side comparisons, or dynamic data grids). The justify-content and gap controls enable pixel-perfect layouts without custom CSS hacks.
  • Roadmap for Filament 3.x: If your project is locked into Filament v3.x (or delaying migration to v4+), this package bridges the gap until native Flex support arrives. Avoid for v4+ projects (use built-in Flex instead).
  • Build vs. Buy: Buy if your team lacks frontend expertise to manually implement Flexbox layouts in Filament. The package abstracts CSS complexity into a declarative API (e.g., ->horizontalArrangement(HorizontalArrangement::Center)).
  • Use Cases:
    • Data-heavy dashboards: Align metrics, KPIs, or filters in responsive grids.
    • Multi-step forms: Group related fields horizontally (e.g., billing/shipping addresses).
    • Legacy system integrations: Standardize layouts across Filament panels and third-party tools.

When to Consider This Package

  • Adopt if:
    • You’re using Filament v3.3+ and need Flexbox controls (justify-content, gap) beyond the native Split component.
    • Your team prioritizes developer velocity over custom CSS solutions for layout challenges.
    • You’re building internal tools where UX consistency is critical (e.g., admin panels, CMS backends).
  • Look elsewhere if:
    • You’re on Filament v4+: Use the native Flex component (this package is deprecated for v4).
    • Your layouts are simple (single-column forms) or can be handled with Filament’s built-in Split or Stack.
    • You need advanced grid systems (e.g., CSS Grid): Consider pairing with Filament Grid or custom Tailwind classes.
    • Your project has strict dependency budgets: This package has low stars (4) and no dependents, signaling niche adoption.

How to Pitch It (Stakeholders)

For Executives:

"This package lets us build professional-grade admin panels in Filament without hiring frontend devs. For example, we can align payment fields side-by-side or center critical metrics in dashboards—just by adding a single method call (->horizontalArrangement()). It’s a 10x faster way to achieve layouts that would otherwise require custom CSS or design system overhead. Since it’s MIT-licensed and Filament-native, it reduces technical debt while keeping our stack lean."

For Engineers:

*"If you’re stuck on Filament v3.x and need Flexbox controls (like justify-content: center or custom gaps) in forms/infolists, this package adds those APIs without reinventing the wheel. Key caveats:

  • Requires ->grow(false) on child fields for proper alignment.
  • Not for v4+ (use native Flex instead).
  • Lightweight: ~50 lines of code, no external dependencies. Proposal: Add it to our composer.json for the Dashboard Overhaul initiative—it’ll save us 2–3 hours per complex layout."*

For Designers:

"This tool gives you precise control over how forms and data tables look without fighting CSS. Need a ‘Start’-aligned filter group? A centered 2-column layout? Just specify it in the PHP class. It’s like Figma’s auto-layout, but for code. Pair it with Filament’s existing components to match our System Design Docs without manual tweaks."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle