Map-based autoloader across php and phar resources

⌈⌋ branch:  Canonic Autoloader


Artifact [a24f95f18f]

Artifact a24f95f18f107bd3806a3e6098fbe665a971edbf:

Wiki page [update] by mario 2014-02-12 02:22:37.
D 2014-02-12T02:22:37.975
L update
U mario
W 557
### 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](wiki/binfmt):

    php ./shared.phar

It's all silent unless it detected identifier conflicts.

### Debian

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


Z d17d27b0d9ce4c1289de5bcef818560a