Support the ongoing development of Laravel.io →
Database Packages
Last updated 2 years ago.
0

composer.json

... "classmap": [ "database/" ] ...

$ composer dump -o

?

Last updated 9 years ago.
0

awesome, thank you so much!

0

That helped me too with a similar problem with a auto generated file by Xethron/migrations-generator.

The error was:

[Symfony\Component\Debug\Exception\FatalThrowableError] Fatal error: Class 'AddForeignKeysToXTable' not found

And your solution solved my problem.

I let the error here to help people find it if they have the same problem.

0

composer dump-autoload

0

Great answer worked for me too

0

Yes, thank you. composer dump-autoload worked like a charm. Although I did want to ask, if it's possible at all to automate this operation.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

dieg0 dieg0 Joined 30 May 2014

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.