Create filament admin via seed?
Hi, it gets annoying making a new filament user every time I do a migrate fresh, is there a way to create on the fly with a seeder? Thanks
Solution:Jump to solution
As Leandro pointed out: Locally you can just run a Seeder.
If you want to same for produciton, I created a package some time ago to create "database states" which always seed after migration: https://github.com/pxlrbt/laravel-database-state...
GitHub
GitHub - pxlrbt/laravel-database-state: Seed critical state your da...
Seed critical state your databases with production data. - pxlrbt/laravel-database-state
3 Replies
Honestly, I didn't understand this... Couldn't you create a
UserSeeder
?Solution
As Leandro pointed out: Locally you can just run a Seeder.
If you want to same for produciton, I created a package some time ago to create "database states" which always seed after migration: https://github.com/pxlrbt/laravel-database-state
GitHub
GitHub - pxlrbt/laravel-database-state: Seed critical state your da...
Seed critical state your databases with production data. - pxlrbt/laravel-database-state
thanks guys