Build in trigger script for DPKG and RPM (untested). | ||
---|---|---|
mario authored 3590 days ago last checkin 18e74838b ⎘ | ||
๐ LICENSE | Add minimum documentation (changelog, license, readme, manpage)โนโบ | 3726 days ago |
๐ NEWS | Add minimum documentation (changelog, license, readme, manpage)โนโบ | 3726 days ago |
๐ README | Add minimum documentation (changelog, license, readme, manpage)โนโบ | 3726 days ago |
๐ manpage.1 | Add minimum documentation (changelog, license, readme, manpage)โนโบ | 3726 days ago |
๐ mk | (no comment)โนโบ | 3936 days ago |
๐ pharmap.php | Tool to regenerate .phar-internal class/func `map`, which is compatibโนโบ | 3590 days ago |
๐ shared.phar | 0.3.0โนโบ | 3936 days ago |
๐ stub.php | (no comment)โนโบ | 3936 days ago |
๐ update.php | (no comment)โนโบ | 3936 days ago |
Canonic Autoloader
Features
shared.phar is a streets ahead PHP autoloader.
- Self-contained in a single compressed Phar โ.
- Can be updated easily from the command line or implicitly.
- Is class-map based and handles identifiers PHP-compliant.
- Phar collections become first class citizens, as both plain
*.php
scripts andphar://*
packages are scanned for identifier declarations. - Indifferent to PSR-0/4 constraints, works atop any legacy or custom directory scheme.
- Prepares rfc:function_autoloading userland support.
- Can be used project-locally and for
/usr/share/php
handling. - And for deployment is just copied along with the classpath.
Also it's placed into the Public Domain.
Usage
It can be utilized easily with:
include_once("shared.phar");
And updated manually on the command line:
php ./shared.phar
Or implicitly on development setups by pre-declaring an environment variable.
SetEnv AUTOLOADER_UPDATE 1
Project
- Development State
- early development stage / experimental
- Releases
- Releases will be announced on http://freshcode.club/projects/sharedphar
- Packages
- Debian packages are available via http://apt.include-once.org/