Best laravel framework open-source packages.

Laravel New User Event Seeder

Example of Laravel User Registration Event Listener. Based on QuickAdminPanel.
Updated 9 months ago

Laravel New User - Event Listener to Seed Dummy Data

Repository for this article: Laravel: New User Registration – Seed Example “Dummy” Data


How to use

  • Clone the repository with git clone
  • Copy .env.example file to .env and edit database credentials there
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate --seed (it has some seeded data for your testing)
  • That's it: launch the main URL. Login with credentials admin@admin.com - password

License

Basically, feel free to use and re-use any way you want.


More from our LaravelDaily Team

Tags seed php