Update of "Canonic Autoloader"
Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Artifact ID: | 3faa122ccd6036bc588f86830aaf5041ef62e1d9 |
---|---|
Page Name: | Canonic Autoloader |
Date: | 2014-03-19 00:08:31 |
Original User: | mario |
Mimetype: | text/x-markdown |
Parent: | 30317a4152bd4033cb1b38473ed68a83887d0688 (diff) |
Next | fbe27531c34920ca9a6931ef5fe0a8555aacedcc |
Content
Features
shared.phar is a streets ahead PHP autoloader.
- Self-contained in a single compressed phar
- Can be updated easily by invoking it from the command line
- The phar may also be split up
- Can be updated easily by invoking it from the command line
- Based on a class map
- Interprets identifiers case-insensitively (as PHP does)
- Prepares rfc:function_autoloading userland support
- Interprets identifiers case-insensitively (as PHP does)
- Phar collections become first class citizens
- Tokenizes plain
*.php
andphar://*
includes for identifier declarations- Indifferent to PSR-0/4 constraints, works atop any legacy or custom directory scheme
- Tokenizes plain
- Is meant for
/usr/share/php
handling- But can be used project-locally just as well
- And for deployment is just copied along with the class structure.
- But can be used project-locally just as well
Also it's 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 declaring an AUTOLOADER_UPDATE
environment variable.
Project
- Development
- shared.phar is still in an early development stage.
- Releases
- Releases will be announced on http://freecode.com/projects/sharedphar
- Packages
- Debian packages are available via http://apt.include-once.org/