- The document discusses PEAR2 and Pyrus, which are overhauls of the PEAR library and installer for PHP.
- Key aspects of PEAR2 include using PHP 5.3+, a new installer, packages going through a sandbox process before release, improved documentation, and namespaces.
- Pyrus is the new installer, which is easier to use, can package entire apps, and has improved security compared to the old installer.
- Details are provided on how to generate PEAR2 packages and use the Pyrus installer command line.
2. Head of R&D at echolibre , pear extraordinaire, author and from Iceland Head of R&D at echolibre , pear extraordinaire, published author and an Icelander Who is Helgi ? Head of R&D at echolibre , pear extraordinaire, author and from Iceland
The default exception is good enough Exception implement an interface, each package has their own base exception namespace PEAR2PackageName; interface Exception {}
Uses OpenSSL2 PKCS#12 and X.509 certificates for package signing and verification
Smaller / Faster: Uses internal PHP 5.3+ feature to drop code size Robus: Uses XML and Sqlite3 for redundant register, can recover corrupt registries and so on
• Build process is easier then PEAR1, no more editing XML files • Code layout has to follow the PEAR2 rules • Project info goes in Readme file • Developer list goes in Credits file • Release notes go in Release-0.1.0 file • Run makepackage.php • Get a package