A simple PHP library. The library will soon become deprecated and will be replaced by a Unit Tested version which will not have all the components that this one has and will also have new/modified ones that might be incompatible with the current library.
This library is in the process of being deprecated. The Acamar Framework will take it's place
Requirements
------------------------------------------
PHP 5.3.0 or higher
Getting started
-----------------------------------------
// Including the autoloader
include '/path/to/library/SPL/Autoload/Autoload.php';
// Registering the loader
\SPL\Autoload\Autoload::register(array(
'SPL' => '/path/to/library' // Note that there is not trailing slash
));
If you don't want the class to throw an Exception when no file for a class is found then also add the following line:
// Skips the Exception trigger when no file is found for the requested class
\SPL\Autoload\Autoload::skipException();
Documentation
-----------------------------------------
- Usage documentation:
http://brian.hopto.org/wiki/github_repos/category/simple-php-library/
- API Documentation:
http://brian.hopto.org/docs/simple-php-library