Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

This may help,

dump-autoload composer once try,

composer dump-autoload
Last updated 1 year ago.
0

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.

Last updated 1 year ago.
0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.