Filament

F

Filament

A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire

Join

Trick to have element be alone in a 2 column row?

Hi, I have a 2 columns setup in a Form. I want 1 element to take 1 column, then nothing next to it, then on the following row, the remaining elements. ...
Solution:
better example ```php ->schema([ Group::make() ->columns()...

Filament database notifications not loaded

I am creating small app where used both Laravel breeze and filament. For manage login i used guards web and admin. Breeze side did custom code to display notifications but filament side notifications not loaded.
Solution:
in production you need something called Supervisor, then create config to make the artisan queue:work to run in the background, so you can safely leave the terminal without ever running artisan queue:work anymore
No description

Using filament controls in a custom livewire component - is this possible?

I have a custom livewire compoment that is used in my table that accomodates a special-case UX. I would like to include a filament SELECT (forms) in that livewire component to maintain a consistent expeirence with the rest of the table. Is this possible?
I can find examples and documentation of the reverse (using a custom livewire component in a table) but am having trouble finding samples of my use case. Is it possible to reuse this and other filament controls in a stand-alone manner?...

Why do my Filament error reports show that they're all coming from my middleware?

I've noticed this for a awhile, but an error that occurs during filament's business logic always returns a specific error correctly like "UnexpectedValueException: Queried value for public_phone is not in international format" but then incorrectly shows the line as being "app/Http/Middleware/SetLastActivityMiddleware.php:26" or whatever my final middlware is. Line 26 in that file is just return $next($request);

Help with Filament v3 Navigation Sorting: Positioning Single Items Between and After Groups

Hi! I'm using Filament v3 and trying to sort my navigation to have Dashboard, Users, Transactions, AppSettings (group with Settings Item 1 and 2), Settings Item 3 (single item), Tools (group), and Final Item (single item). I'm facing issues with: 1. Single items (e.g., Settings Item 3) appearing before groups due to items() rendering before groups(). 2. Duplicate AppSettings group, possibly from resources with navigationGroup. I tried using pseudo-groups with empty labels (NavigationGroup::make('')) to position single items after groups, but I want to confirm if this is the best approach. Here's my current AdminPanelProvider navigation code:...

getMountedTableActionRecord() returns null in RelationManager (EditAction)

I'm building a RelationManager for MenuItem -> VariationGroups, where each variation group has multiple options, and each option has multiple ingredients. This is a nested repeater structure (options → ingredients), and I want to load existing nested data into the form when editing. I’ve already implemented mutateFormDataBeforeFill, but it’s not being called when I click the Edit action on the relation manager. I tried adding a custom mount() method and manually calling $this->form->fill([...]), but even then, getMountedTableActionRecord() returns null. My data saves correctly, but my problem is only on the form preloading (not saving)....

Action always shows the previously viewed record in the modal

Hello guys, I’m experiencing an issue in our production application using Filament 3 + Livewire: Error description: ...

Is it possible to change the chart type in the widgets dynamically?

I tried using the filter to add few options and then use $this->filter in the getType() method, but to no avail. Has anyone tried this already?

Bulletlist didn't render properly in TextEntry (Infolist)

My bulletlist didn't render in TextEntry, But it show properly in Schema Field

mutateFormDataBeforeSave() do not showing related record data. v4

I am using spatie roles with user and i am using https://filamentphp.com/docs/4.x/forms/checkbox-list#integrating-with-an-eloquent-relationship in the UserForm to update the roles along with other user details....

Error production Maximum call stack size of 8306688 bytes

I'm having this error ``` [2025-07-13 17:50:57] production.ERROR: Maximum call stack size of 8306688 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached during compilation. Try splitting expression {"userId":1,"exception":"[object] (Symfony\Component\ErrorHandler\Error\FatalError(code: 0): Maximum call stack size of 8306688 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached during compilation. Try splitting expression at storage/framework/views/57035cd2e33b51d1fc58b36f84772812.php:235) [stacktrace] #0 {main}...
Solution:
Update to the latest version of Filament

Error 403 Forbiden

After deploying my project I can't access the Filament admin panel. I think some Gate or some Authorization is blocking the panel. How can I see which one it is? I've already tried several tests....

419 Error on fresh Laravel + Filament install

Hey guys, As many people before me, I am losing my mind over this Session Expired 419 Error on the login page. This is a fresh install with the following versions: ...
Solution:
Okay, this one was fun. So, after changing half of my .env file, I found the issue. APP_NAME="mywebsite.com"...

Proper way to add bulk action for record edit

Hello, I'm wondering about the best way to let the user select a record and then show the same edit modal that we have in row actions without having to duplicate the form Thank you very much!...

fillForm doesn't work while trying to test a Singular Resource

Hi, I created a Singular Resource as explained here https://filamentphp.com/docs/4.x/resources/singular My view is exactly the same as in the documentation and my page's form method is a little bit different since this page is here to create a new record instead of updating an existing one. Therefore I'm using model instead of record: ...
Solution:
are you sure that you are authorized to view the component?

How to hide or remove NavigationBuilder

where I can hide the redcircle image
Solution:
Remove the bulk actions from your table.
No description

Infinite memory error

Hello, so I'm new to FilamentPHP and as Im following the tutorial within the official docs I came across an error exhausting my memory limit. So I tried to increase it, restarted apache, cleared caches but still does not work. Im pretty sure I did not mess up anything because I only followed what was said in the docs Error:...

Can I integrate pre-designed login and registration forms using Blade templates within a Filament ap

Hi , I have created registration and login forms using Blade and Tailwind CSS. Can I use these forms with Filament to log in to the dashboard instead of the default Filament authentication pages?...

in version 4 how to set the "create" modal size to medium?

i can set the edit modal size EditAction::make()->iconButton()->modalWidth(Width::Medium), but i remove the create form getPages to use it as a modal .. but can not find how to set it's size like in EditAction...

Notifications icon in the top right with modal slide hover

Do i need to create a blade template to add a notificaitons icon in the top right ? close to the profile settings circle...? How does it work ?I am doing a project about domain and website managment and i wuanted to add a notifications icon in the client panel... The project is divided in two panels basically one deciated to clients and the other to admins...