Skip to content

Gradwell/ComponentManagerShared

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComponentManagerShared

ComponentManagerShared contains shared code and data used by the various phix commands for creating and managing components of code.

To learn more about PHP components, Google for 'Beyond Frameworks'.

Installation

ComponentManagerShared is normally installed as a dependency; i.e. it gets installed because something else lists it in a package.xml file.

If you want to install it yourself, you can do so using using the PEAR Installer. This installer is the community's de-facto standard for distributing PHP components.

sudo pear channel-discover pear.gradwell.com
sudo pear install --alldeps Gradwell/ComponentManagerShared

After installation, you will find the code inside your local PEAR repository, which on Linux systems is normally /usr/share/php.

Documentation

There is no documentation available at this time. Please read the source code and unit tests.

Development Environment

If you want to patch or enhance this component, you will need to create a suitable development environment:

#phpunit
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony-project.com
sudo pear install --alldeps phpunit/PHPUnit

# phing
sudo pear channel-discover pear.phing.info
sudo pear install --alldeps phing/phing

# pdepend
sudo pear channel-discover pear.pdepend.org
sudo pear install --alldeps pdepend/PHP_Depend-beta

# phpdoc
sudo pear install --alldeps pear/PhpDocumentor

# phpmd
sudo apt-get install php5-imagick
sudo pear channel-discover pear.phpmd.org
sudo pear install --alldeps phpmd/PHP_PMD-alpha

# phpcpd
sudo pear install --alldeps phpunit/phpcpd

# phpcs
sudo pear install --alldeps pear/PHP_CodeSniffer-beta

# phpcb
sudo pear install --alldeps phpunit/PHP_CodeBrowser

You can then clone the git repository:

# ComponentManagerShared
git clone git://github.com/Gradwell/ComponentManagerShared.git

You will then need to populate the vendor folder, to build a local copy of all of the dependencies for

# vendor folder
cd ComponentManagerShared
phing build-vendor

To test your changes, you would do the following:

# test changes
phing test

# install changes into vendor folder, for local use
phing pear-package
phing install-local
vendor/bin/phix <command>

About

Shared code used by all the ComponentManager components

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages