Skip to content
Provides hooks for composer custom installer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BundleInstaller.php
BundleInstallerPlugin.php
LICENSE
README.md
composer.json

README.md

#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

You can’t perform that action at this time.