mtolhuys / laravel-schematics

A Laravel package making a diagram of your models, relations and the ability to build them with it
MIT License
1.49k stars 133 forks source link

Schematics finds migrations but not models #52

Open rflatt-reassured opened 4 years ago

rflatt-reassured commented 4 years ago

As the subject says, schematics can find the migrations, but no models. We have written our code so that the routes are in devolved routes files - the code is separated into different modules, and each module has its own route file (eg Modules/Communication/Http/routes.php). Is there any way schematics can use this? The routes have been cached, and I can see them when I do php artisan route:list.

Thanks.

imanghafoori1 commented 3 years ago

I think the same way they find models, will work for this package:

https://github.com/sebastiaanluca/laravel-auto-morph-map/blob/master/src/Mapper.php

Dennis-Mwea commented 3 years ago

https://github.com/mtolhuys/laravel-schematics/pull/58

TheDeadCode commented 3 years ago

Still facing the issue