Map-based autoloader across php and phar resources

⌈⌋ ⎇ branch:  Canonic Autoloader


update

Updating the classmap

The self-contained class map can be regenerated by just invoking shared.phar from the command line:

./shared.phar

Or for the global installation:

/usr/share/php/shared.phar

Or with prefixing the php interpreter if phar is not registered as binfmt:

php ./shared.phar

If your php.ini configuration defines it as such, you may need to override the phar accessibility:

php -dphar.readonly=0 ./shared.phar

It's all silent unless it detected identifier conflicts.

Where does it read from?

Per default shared.phar handles all directories beneath it.

Debian

The .deb package contains a trigger to update shared.phar implicitly when new system packages are installed below /usr/share/php/