0
votes

""php artisan make:model Models \Admin -m"" by running this command I am getting this error:Too many arguments to "make:model
" command, expected arguments "na
me".

if you are using latest laravel then no need to mention Models folder name since it will add automatically .php artisan make:model Admin -m or if you are using old one then php artisan make:model Models\Admin -mJohn Lobo