1. Create project “laralel new dummydata” – I already did 2. Setup database in .env file – I already did 3. Generate PostFactory
1 |
php artisan make:factory PostFactory --model=Post |
Open PostFactory.php and add this code…
1. Create project “laralel new dummydata” – I already did 2. Setup database in .env file – I already did 3. Generate PostFactory
1 |
php artisan make:factory PostFactory --model=Post |
Open PostFactory.php and add this code…