Filament

F

Filament

Filament is a collection of beautiful full-stack components for Laravel.You can get help using it on our Discord.

Join

database notification change table and body

hi guys, i want to change the table of filament notifications and change the data but couldn't find any resources can i apply this feature ?...

Laravel+ Railway deployment

Hello everyone, I need some help regarding a deployment issue I'm facing with my Laravel project on Railway. I’m currently working on a small Laravel training project, and I deployed it to Railway using a simple .env file I only filled the necessary environment variables like the app name, environment, debug mode, app URL, and database credentials for SQLite. When the deployment starts, the logs show a lot of warnings from Laravel about missing environment variables,...

hey there i found out there is a possibility to add a image to a view page

is there someone who got documentation about it or has a function they can show me how it works for you ( i wanna create something simulair to the purple image)
No description

download export error

this is error on log [2025-04-20 19:32:06] production.ERROR: Argument passed must be a stream resource, NULL given. {"userId":1,"exception":"[object] (TypeError(code: 0): Argument passed must be a stream resource, NULL given. at /var/www/Cash-Craft/vendor/league/csv/src/Stream.php:173) [stacktrace] #0 /var/www/Cash-Craft/vendor/league/csv/src/AbstractCsv.php(97): League\Csv\Stream::createFromResource() #1 /var/www/Cash-Craft/vendor/filament/actions/src/Exports/Downloaders/XlsxDownloader.php(35): League\Csv\AbstractCsv::createFromStream()...

❓ Issue in Filament Shield with multi-tenancy

❓ Issue After Running php artisan shield:install admin --tenant --generate-relationships Hi everyone 👋 I’m using Laravel v11, and I ran the following command to set up Filament Shield with multi-tenancy: ...

How to stop "Attach" action in a Relation Manager if the parent resource form is dirty (unsaved)?

Hi everyone 👋, I want to prevent the execution of the "Attach" action in a Relation Manager if the parent resource form has unsaved changes. isDirty() on the owner record doesn't reflect Livewire form changes. and I’ve already made the relevant fields live()...

Environment selector

Good evening! Guys, I need a plugin or documentation recommendation to do something similar to the screenshot attached. Basically, I have a Model called "App" that is linked to the user and it can have several apps....
No description

Modal from an extra footer action to bind with modal form?

Is there a way make modal extra footer action to work with modal the modal form in terms of validation and form data access. The point is to be able to trigger confirmation after filling the modal form before action. `Action::make('edit') ->form([ // ......
Solution:
Sorry guess I’m just not fully following the use case. Is this what you are trying to achieve: https://filamentphp.com/docs/3.x/actions/modals#opening-another-modal-from-an-extra-footer-action

eror Call to a member function contains() on null

sorry before I want to ask, I previously had a project using laravel filament, now I want to clone the project for testing purposes with a different db. so after I created a user with a prompt that had been provided by filament, when I tried to register an error appeared Call to a member function contains() on null, the role was not read like that, maybe someone can help. 🙏🏻

set default value for toogle

how to set default value for toogle ? I tried ->default(true) still give me false toogle at form

dynamicly add and equip items to a character

First Thanks for this awesome project! I'm new to coding and I love how Filament (and especially @Prodex) enables me to learn to code. My setup: ddev/docker (filament 3.2, laravel 12) What I am trying to do:...
No description

Using widget overview in dashboard and list records

Can someone help me, how can I have a widget overview that is used both in dashboard and in list records? And when in list records, the widget data is reflect to the table filter...

“Undefined array key 0” when uploading an image

Solution It was a issue with my local php environment. After using a newer PHP version or testing it on my live server it works. If you get this issue, try install Laravel Herd or make a clean php install. What I’m trying to do and why...
Solution:
Soo, that's interesting... It works now. I believe it was a issue with my php version. I installed 8.4 and it works, I also installed Herd and it seems like a good application... I will work with it...

Rich editor upload stuck

i use S3. fails to upload. no error in console.
No description

radio button null value

Hello can i have null value as an radio option like we have on a select option (placeholder) value? something that would provide the html functionality below ``` <form> <fieldset> <legend>Please select your preferred contact method:</legend>...

Select on repeater

Hello everyone! I have a problem with my select inside a repeater. When I add searchable() to the form submission I get a null value! However when I remove the searchable everything works.

Shield Plugin menu not appearing in the left sidebar menu

I installed fresh Laravel, Filament, and Shield. Below is the section from composer.json. I did not receive any errors, but the Filament Shield menu does not appear in the left sidebar menu. "require": { "php": "^8.2", "bezhansalleh/filament-shield": "^3.3",...

i am trying to add a Copy function to my table but i am not sure why it wont work

Solution:
Are you using https? Clipboard API does not work on unsecure connections
No description

mobile sidebar overlaying content / not collapsible

My sidebar on mobile shows no icon (hamburger, arrow, or otherwise) to collapse the sidebar. It just overlays the main page content and on smaller screens, it's blocking a large portion of the content. What could be causing this and how do I fix it? Ideally I'd like to have the 3-bars icon and have the sidebar collapsed on small screens by default.

Filament Multi Guard Using Sigle Form with Same Login Path

Hello Brother, I've used Filament PHP notification, My Problem is provided like above Brother Emiliosh's problem. But Your solution can solve the problem but I faced with the two issues one is notification problem and second one is the permission problem I use the package Filament-Shield. I separate AdminPanelProvider and EmployeePanelProvider using the same path /admin/login page Both Panel Providers have use different Laravel Guards admin and employee. But I want to use single panel and same l...