This may help,
dump-autoload composer once try,
composer dump-autoload
Hi,
Check this out: https://github.com/JeffreyWay/Laravel-4-Generators/issues/365
I had the same issue and this fixed it. But it depends on your laravel version and generator version.
For my case, I manually deleted User.php and also remove two migration files under \database\migrations\ path. Then when I run make:model User -m, I got the error of creating migration. Then I removed the created User.php under app folder. Then run composer dump-autoload. After that run make:model command again and it works.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community