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