This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

john1420
john1420

So I've made a number of model classes that are implicitly site-oriented and placed them in the app/models directory, which is where Laravel would normally look for models. However, October doesn't check there, which leads to problems when trying to define relationships, as apparently the classes used for that need to be "autoloaded" or somesuch. So how can I add the app/models directory to the list of directories where the startup will autoload class files?

Autumn
Autumn

1st add PSR to your composer.json 2 use plugins, because it's right way

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.