Xethron / migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
3.32k stars 588 forks source link

Class files does not exist #130

Closed TheRealJAG closed 7 years ago

TheRealJAG commented 7 years ago

After following the instructions I'm getting the following error when running php artisan with laravel 5.4

[ReflectionException] Class files does not exist If I remove the 2 lines from the providers array, everything works again.

sk33wiff commented 7 years ago

:+1:

sk33wiff commented 7 years ago

You can try using this ugly workaround in GeneratorsServiceProvider::registerConfig() $this->app->singleton('files', function () { return new Filesystem; }); But that should happening earlier on the stack somewhere.

TheRealJAG commented 7 years ago

I moved on in my project without a fix to the MG install . Closing issue.