Dilemmas during installation.
At the very beginning, the documentation says that we need PHP, Laravel and Livewire to install Filament.
1. However, I'm reading a lot of forum posts that you only need to install Laravel beforehand - Livewire installs along with Filament. How is this actually the case? Should I install Livewire before installing Filament?
2. After installing Filament, the second step is to create a user by
php artisan make:filament-user
, but the users table does not exist. There is no mention at the beginning of the documentation how to create the users table, should I use Laravel Breeze?Solution:Jump to solution
1. Livewire gets installed by filament if it's not installed already because filament has a livewire as required.
2. No, you don't need breeze or ant other starter. Laravel comes with users table migration.
It seems you lack skills first in laravel so I would suggest learning at least basics of it first....
3 Replies
Solution
1. Livewire gets installed by filament if it's not installed already because filament has a livewire as required.
2. No, you don't need breeze or ant other starter. Laravel comes with users table migration.
It seems you lack skills first in laravel so I would suggest learning at least basics of it first.
I'm familiar with Laravel, I'm just not sure what the Laravel installer is supposed to do and what the Filament installer is supposed to do. You have to admit it's not clear since the documentation lists Livewire as ‘Requirements’ which suggests it should be installed BEFORE installing Filement, but it appears that Filament does this itself during installation (unlike Laravel). A lot of forum posts (and here) suggest installing Breeze, so I also don't know if a simple basic migration of the users table is enough, or if Breeze is advisable? Don't you think it would be great for this to be clearly described at the beginning of the documentation? This is just a simple user suggestion....
For me it's very clear. What gets installed with the package you can always check in the
composer.json
Breeze can be used for the frontend part if needed