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…
Laravel Eloquent uses Collections to return the results. Collections contains very useful methods that makes them very powerful and helpful to use. You can filter them, modify them and much…
In this tutorial, I’m going to demonstrate making a Single Page Application using Laravel php framework and AngularJS 1. So I got interested in exploring Laravel in the past weeks…