This project is no longer maintained in favor of official support:
Standalone version of the Bedrock Autoloader for must-use plugins.
Require this package, with Composer, in the root directory of your project.
$ composer require mcaskill/bedrock-autoloader
Add bedrock-autoloader.php
to your must-use plugins directory.
Example:
<?php
if ( ! is_blog_installed() ) {
return;
}
new \Roots\Bedrock\Autoloader(__DIR__);
All credits & copyrights belongs to people behind Bedrock.