hgtan / composer-directory-installer
A composer plugin, to help install packages of different types in custom paths.
Package info
github.com/hoangthienan/composer-custom-directory-installer
Type:composer-plugin
pkg:composer/hgtan/composer-directory-installer
1.0.3
2014-10-04 22:18 UTC
Requires
- php: >=5.3
- composer-plugin-api: *
This package is not auto-updated.
Last update: 2026-02-28 23:17:54 UTC
README
A composer plugin, to install differenty types of composer packages in custom directories outside the default composer default installation path which is in the vendor folder.
Installation
- Include the composer plugin into your
composer.jsonrequiresection::
"require":{
"php": ">=5.3",
"mnsami/composer-custom-directory-installer": "1.0.*",
"monolog/monolog": "*"
}
- In the
extrasection define the custom directory you want to the package to be installed in::
"extra":{
"installer-paths":{
"./monolog/": ["monolog/monolog"]
}
by adding the installer-paths part, you are telling composer to install the monolog package inside the monolog folder in your root directory.