D 2014-02-12T02:07:56.343 L Canonic\sAutoloader N text/x-markdown U mario W 1136

Features

[`shared.phar`](finfo?name=shared.phar) is a streets ahead PHP autoloader. * Self-contained in a single compressed [phar](https://php.net/phar) * Based on a class map * Can be updated easily by invoking it from the command line * ***Phar collections** become first class citizens* * Interprets identifiers case-insensitively (as PHP does) * *Tokenizes* plain `*.php` and `phar://*` includes for identifier declarations * Is meant for `/usr/share/php` handling, but can be used project-locally * Prepares [rfc:function_autoloading](https://wiki.php.net/rfc/function_autoloading) userland support * Indifferent to PSR-0/4 constraints, works atop *any* legacy or custom directory scheme * The phar may also be [split up](wiki/split) And it's public domain. ### Usage It can be [utilized](wiki/include_once) easily with: include_once("shared.phar"); And [updated](wiki/update) manually on the command line: php ./shared.phar Or implicitly on development setups by declaring an [`AUTOLOADER_UPDATE`](wiki/AUTOLOADER_UPDATE) environment variable. Z ac29ff7c829bf21ccb2a1487981f40d4