Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how make factory and seeder in laravel 8

1.make factoryu
php artisan make:factory UserFactory --model=User
2.make seeder
php artisan make:seed UserTableSeeder
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #factory #seeder #laravel
ADD COMMENT
Topic
Name
7+8 =