Support the ongoing development of →
Installation Configuration
Last updated 2 years ago.

This may help,

dump-autoload composer once try,

composer dump-autoload
Last updated 2 years ago.


Check this out:

I had the same issue and this fixed it. But it depends on your laravel version and generator version.

Last updated 2 years ago.

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!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.