av / bonefish-autoloader
There is no license information available for the latest version (v1.0) of this package.
This Project maintains the Bonefish PSR-4 Autoloader
This package's canonical repository appears to be gone and the package has been frozen as a result.
v1.0
2014-09-27 13:01 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2023-10-23 22:21:22 UTC
README
Bonefish-Autoloader is a standard PSR-4 Autoloader
Features
- Autoload classes with PSR-4 standard
Installation
Please use Composer to install this package.
$ composer require av/bonefish-autoloader:dev-master
Usage
Create a new autoloader instance and use register()
$autoloader = new \Bonefish\Autoloader\Autoloader(); $autoloader->register();
Now you can add Namespaces like this
// Hello\World\Controller will now search for src/Controller.php $autoloader->addNamespace('Hello\\World','src');