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