Skip to content

Commit 7d82d49

Browse files
committed
Initial and Tested
1 parent 19be04f commit 7d82d49

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
11
# smartloader
2-
Just a simple, caching autoloader
2+
Just a simple, caching autoloader, for those days when your aren't
3+
composer-autoloading your entire classes :)
4+
5+
6+
#Usage
7+
8+
Just include the smartloader.php file, the only change you should need
9+
is the variable ```php $classes_root``` set that to point to the root directory
10+
for your class files, and you are good to go.
11+
12+
#Note
13+
This autoloader caches file paths if APC/APCu is enabled, so it doesn't always transverse
14+
the filesystem, thereby speeding things up

smartloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @copyright 2017
99
* @license http://www.php.net/license/3_0.txt PHP License 3.0
1010
* @version GIT: 1.0.0
11-
* @link http://pear.php.net/package/PackageName
11+
* @link https://github.com/solutionstack/smartloader
1212
*/
1313

1414

0 commit comments

Comments
 (0)