Code and data for the php-library components
Pull request Compare This branch is 88 commits ahead of Gradwell:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


ComponentManagerPhpLibrary contains the code and data used by the phix commands for creating and maintaining PHP components.

System-Wide Installation

ComponentManagerPhpLibrary is normally installed when you install phix4componentdev

sudo pear channel-discover
sudo pear -D auto_discover=1 install -Ba phix/phix4componentdev

As A Dependency On Your Component

If you are creating a component that relies on ComponentManagerPhpLibrary, please make sure that you add ComponentManagerPhpLibrary to your component's package.xml file:



This component adds the 'php-library:' set of commands to phix.

To see all of the commands available, do:

# phix built-in help

To get help on the individual php-library commands, do:

# php-library built-in help
phix help php-library:init
phix help php-library:status
phix help php-library:upgrade

Development Environment

If you want to patch or enhance this component, you will need to create a suitable development environment. The easiest way to do that is to install phix4componentdev:

# phix4componentdev
sudo apt-get install php5-xdebug
sudo apt-get install php5-imagick
sudo pear channel-discover
sudo pear -D auto_discover=1 install -Ba phix/phix4componentdev

You can then clone the git repository:

# ComponentManagerPhpLibrary
git clone git://

Then, install a local copy of this component's dependencies to complete the development environment:

# build vendor/ folder
phing build-vendor

To make life easier for you, common tasks (such as running unit tests, generating code review analytics, and creating the PEAR package) have been automated using phing. You'll find the automated steps inside the build.xml file that ships with the component.

Run the command 'phing' in the component's top-level folder to see the full list of available automated tasks.


See LICENSE.txt for full license details.