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

Tschallacka
Tschallacka

I have a lot of helper classes for one of my plugins, and I noticed there's a almost full second lag for it to be found by the default october spl_autoloader.

My solution is to do a psr4 autoload via composer.json and then composer dump-autoload -o in the plugin directory.

My only question is, do I need to register it in the boot method to include the autoload.php, or does octobercms pick that one up automagically?

1-1 of 1

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