asgard/composer

Provides hooks for composer custom installer


License
MIT

Documentation

#Composer

Composer is a package that makes easier to execute scripts when a package is installed, updated and uninstalled with composer.

##Installation

composer require asgard/composer 0.*

##Usage

Create a composer/ folder in your project root and add the PHP files corresponding to the composer method you want to hijack:

install			composer/install.php
update			composer/update.php
uninstall		composer/uninstall.php
getInstallPath	composer/getInstallPath.php
isInstalled		composer/isInstalled.php
supports		composer/supports.php

An example of the install.php script.

For more information, please check the BundleInstaller.php source code and composer documentation.

###Contributing

Please submit all issues and pull requests to the asgardphp/asgard repository.

License

The Asgard framework is open-sourced software licensed under the MIT license