Map-based autoloader across php and phar resources

⌈⌋ ⎇ branch:  Canonic Autoloader


Update of "update"

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 954e9ae70d58d37bd7447d7193b3d55b86b492f1
Page Name:update
Date: 2014-02-13 17:38:25
Original User: mario
Mimetype:text/x-markdown
Parent: 2b92f4269c8ff0098e76f665b688143d0123fe27 (diff)
Content

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/