Map-based autoloader across php and phar resources

⌈⌋ branch:  Canonic Autoloader


Artifact Content

Artifact 2b92f4269c8ff0098e76f665b688143d0123fe27:

Wiki page [update] by mario 2014-02-12 02:22:45.
D 2014-02-12T02:22:45.490
L update
N text/x-markdown
P a24f95f18f107bd3806a3e6098fbe665a971edbf
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 b088f6bff5b00563a94b4d088b9bdefe