cjrasmussen / autoload
Autoloader that allows for setting different source paths based on class prefix
1.0.0
2025-03-19 17:08 UTC
Requires
- php: >=7.4
README
Autoloader that allows for setting different source paths based on class prefix.
Usage
use cjrasmussen\Autoload\Autoloader; Autoloader::register('DHN\\', '/var/www/Services/DHN/'); Autoloader::register('O6\\', '/var/www/O6/src/');
Installation
Simply add a dependency on cjrasmussen/autoload to your composer.json file if you use Composer to manage the dependencies of your project:
composer require cjrasmussen/autoload
Although it's recommended to use Composer, you can actually include the file(s) any way you want.
License
Autoload is MIT licensed.