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
- Host: GitHub
- URL: https://github.com/solutionstack/smartloader
- Owner: solutionstack
- License: mit
- Created: 2017-09-29T07:47:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T10:40:16.000Z (over 7 years ago)
- Last Synced: 2024-12-31T17:47:16.261Z (6 months ago)
- Topics: autoloader, autoloader-caches, php7
- Language: PHP
- Size: 4.88 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
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