If you are using the Laravel factories to populate the database with fake elements, when you add a new factory, v.gr. in the “\database\factories\ModelFactory.php”, ant try to execute it with the tinker app
Tag: laravel 5
Laravel. Models into its own folder
If you create an Eloquent Model in Laravel (v.gr., the “Company” model), using the command
$ php artisan make:model Company
the file is stored in the “App” folder.