composer-plugin composer-inheritance-plugin
Composer plugin to merge multiple sub composer.json files
theofidry/composer-inheritance-plugin
Composer plugin to merge multiple sub composer.json files
- Sunday, December 17, 2017
- by theofidry
- Repository
- 2 Watchers
- 8 Stars
- 14,684 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 4 Versions
- 15 % Grown
Composer Inheritance Plugin
, (*1)
Opinionated version of Wikimedia composer-merge-plugin to work in pair with bamarni/composer-bin-plugin., (*2)
Usage
If you are familiar with bamarni/composer-bin-plugin, you know that you can
easily manage several namespaces without impacting your project dependencies.
There is however one issue: the composer.json
files in your vendor-bin
directory are completely isolated from your project root composer.json
. It is
possible thanks to wikimedia/composer-merge-plugin to change that. This
library pre-configure this plugin to work more nicely out of the box., (*3)
Live example: https://github.com/nelmio/alice, (*4)
/nelmio-alice-project
βββ composer.json <-- uses bamarni/composer-bin-plugin to manage vendor-bin
βββ composer.lock
βββ vendor/
βββ vendor-bin/
βββ laravel
| βββ composer.json <-- uses theofidry/composer-inheritance-plugin to
| | inherit from the root `composer.json` and add
| | dependencies related to Laravel to test the
| | Laravel bridge
| βββ composer.lock
| βββ vendor/
βββ symfony
βββ composer.json <-- uses theofidry/composer-inheritance-plugin to
| inherit from the root `composer.json` and add
| dependencies related to Symfony to test the
| Symfony bridge
βββ composer.lock
βββ vendor/
dev-master
9999999-dev
Composer plugin to merge multiple sub composer.json files
Sources
Download
MIT
The Requires
The Development Requires
v1.0.1
1.0.1.0
Composer plugin to merge multiple sub composer.json files
Sources
Download
MIT
The Requires
The Development Requires
v1.0.0
1.0.0.0
Composer plugin to merge multiple sub composer.json files
Sources
Download
MIT
The Requires
The Development Requires
v1.0.0-beta.0
1.0.0.0-beta0
Composer plugin to merge multiple sub composer.json files
Sources
Download
MIT
The Requires
The Development Requires