Skip to main content
Elaborated the question more concisely
Source Link

I'm struggling to create more than one models (I don't want to run command every time to create a lot of models) using artisan command in Laravel 8 but it'sit's giving me error.

creating more than one model in Laravel 8 using single commandWhat I tried is

php artisan make:model Photo Staff Product

The error I faced,

Too many arguments to "make:model" command, expected arguments "name".

I'm struggling to create more than one models using artisan command in Laravel 8 but it's giving me error.

creating more than one model in Laravel 8 using single command

I'm struggling to create more than one models (I don't want to run command every time to create a lot of models) using artisan command in Laravel 8 but it's giving me error.

What I tried is

php artisan make:model Photo Staff Product

The error I faced,

Too many arguments to "make:model" command, expected arguments "name".
Source Link

How to create multiple models in Laravel 8 using single artisan command?

I'm struggling to create more than one models using artisan command in Laravel 8 but it's giving me error.

creating more than one model in Laravel 8 using single command