composer.json
... "classmap": [ "database/" ] ...
$ composer dump -o
?
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.
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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community