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.
Type Name Latest commit message Commit time
Failed to load latest commit information.


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


composer require asgard/composer 0.*


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.


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


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

You can’t perform that action at this time.