Laravel 11 filament 3.2 panel installation issue
I just installed filament 3.2 and tried
php artisan filament:install --panels
after that I can't access anything anymore, because of the error syntax error, unexpected token "\", expecting "]"
that is caused by the import of this provider: App\Providers\Filament\1PanelProvider::class
. My research is not helpful, some sources say this version is incompatible with Laravel 11 others say 3.2.57 should work. So what's the truth?Solution:Jump to solution
The --panels parameter is used to create a panel. Each panel provider has a PHP class. It seems you used
1
as the panel ID, which resulted in the creation of the 1PanelProvider.php class. Maybe this is the issue. Try to create a panel with a string identifier, such as admin
6 Replies
Solution
The --panels parameter is used to create a panel. Each panel provider has a PHP class. It seems you used
1
as the panel ID, which resulted in the creation of the 1PanelProvider.php class. Maybe this is the issue. Try to create a panel with a string identifier, such as admin
oh my.. I feel stupid, in my tired mood I thought it asked for the admin User ID :pbpepesmoke:
Thank you!
Hello , please someone help me out . I am getting "method not allowed" when trying to login. I checked the route list and there is "post/login" is not available. I tried to reinstall filament but its not working. I am using laravel 11. I am getting in my local.
Please open a separate post.
I tried to create the route for the post method but there is no login controller for that. I tried to remove the filament and again implement, but its still not working. It is same as it was before.
I mean, please open a new thread here in Discord. Your question is unrelated to the already solved question above