hgtan / composer-directory-installer
A composer plugin, to help install packages of different types in custom paths.
Installs: 34
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 27
Type:composer-plugin
Requires
- php: >=5.3
- composer-plugin-api: *
This package is not auto-updated.
Last update: 2024-11-23 17:27:36 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.json
require
section::
"require":{
"php": ">=5.3",
"mnsami/composer-custom-directory-installer": "1.0.*",
"monolog/monolog": "*"
}
- In the
extra
section 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.