Require vendor/autoload by default
dainelmawer opened this issue · comments
Daine Mawer commented
After playing around with the plugin scaffold a little bit, and asking Darshan for some insight, it became apparent that using require_once 'vendor/autoload.php';
is detrimental to autoloading classes. This ticket may just be a lack of experience from my side, but is there any reason why the requiring of autoload.php
is not added to the plugin architecture by default?
Sérgio Santos commented
Dana Ross commented
Great. Let's close this out.
I was hesitant to add the autoloading to the scaffold itself until I saw if people were actually using the autoloader. I'm glad to see people are eager to adopt it.