typedphp / composer-path-plugin
A Composer plugin which allows any package to define its own install path.
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:composer-plugin
Requires
- php: >=5.4.0
- composer-plugin-api: 1.*
Requires (Dev)
- php: >=5.5.0
- mockery/mockery: 0.*
- phpunit/phpunit: 4.*
README
A Composer plugin which allows any package to define its own install path.
Examples
You can define where a dependency should install itself to:
"extra" : { "path" : "tests" }
You can override the install paths of other dependencies:
"extra" : { "paths" : { "symfony/*" : "symfony" } }
Installation
❯ composer require "typedphp/composer-path-plugin:*"
Testing
❯ composer create-project "typedphp/composer-path-plugin:*" . ❯ vendor/bin/phpunit