An open API service indexing awesome lists of open source software.

https://github.com/solutionstack/smartloader

Just a simple, caching autoloader
https://github.com/solutionstack/smartloader

autoloader autoloader-caches php7

Last synced: 4 months ago
JSON representation

Just a simple, caching autoloader

Awesome Lists containing this project

README

        

# smartloader
Just a simple, caching autoloader, for those days when your aren't
composer-autoloading your entire classes :)

## Usage

Just include the smartloader.php file, the only change you should need
is the variable ```php $classes_root``` set that to point to the root directory
for your class files, and you are good to go.

## Note

This autoloader caches file paths if APC/APCu is enabled, so it doesn't always transverse
the filesystem, thereby speeding things up