Question about project filament and seed withProgressBar
Hi all! In the seeder file using method withProgressBar
I don't understand how to add another user with email to get something like this? And get a progressbar with a corresponding counter of 2, since it would have two records as one in this case:
GitHub
demo/database/seeders/DatabaseSeeder.php at b3090a325996b978dd75fa6...
Source code for the demo.filamentphp.com website. Contribute to filamentphp/demo development by creating an account on GitHub.
2 Replies
see this gist for a example https://gist.github.com/jorgecrodrigues/57044182728c41b510dbeb9f2e49ba4d
Gist
Progress bar for seed, Laravel
Progress bar for seed, Laravel. GitHub Gist: instantly share code, notes, and snippets.
Your code works well (thanks), and in the demo example on github too (seed 2 fake users):
I want to get the two users preseeded: admin and user, and then already fill in the rest of the seeded ones.