laravel model folder code example Example: how to make a model in folder in laravel php artisan make:model <directory_name>/<model_name>