InterNACHI / modular

Modularize your Laravel application
MIT License
772 stars 64 forks source link

Is it compatible with Laravel 8? #9

Closed martio closed 3 years ago

martio commented 4 years ago

Hi! :) Is it compatible with Laravel 8?

ejunker commented 4 years ago

I am using it with Laravel 8 and it is working except that I have not been able to get the new model factories to be found but maybe I am doing something wrong. I get an error like this: Error : Class 'Database\Factories\CalendarAccountFactory' not found

Update: had to add this to the autoload psr-4 section of my composer.json so it could find the factories

"Database\\Factories\\": "database/factories"

inxilpro commented 3 years ago

Sorry for such a late response! Yep — the package works fine with Laravel 8 but it doesn't use the new Laravel factories. Support for factory classes will probably come with modular 2.0.