PHPackages                             theofidry/composer-inheritance-plugin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. theofidry/composer-inheritance-plugin

ActiveComposer-plugin

theofidry/composer-inheritance-plugin
=====================================

Composer plugin to merge multiple sub composer.json files

v1.2.0(4y ago)29168.4k↑125%4[1 PRs](https://github.com/theofidry/composer-inheritance-plugin/pulls)MITPHPPHP ^7.2 || ^8.0

Since Sep 21Pushed 4y ago3 watchersCompare

[ Source](https://github.com/theofidry/composer-inheritance-plugin)[ Packagist](https://packagist.org/packages/theofidry/composer-inheritance-plugin)[ GitHub Sponsors](https://github.com/theofidry)[ RSS](/packages/theofidry-composer-inheritance-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Composer Inheritance Plugin
===========================

[](#composer-inheritance-plugin)

[![Package version](https://camo.githubusercontent.com/df3c6827944a9f0342f5179cdf70f33fc3efa516901c000d7176d277499adccb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f7468656f66696472792f636f6d706f7365722d696e6865726974616e63652d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/theofidry/composer-inheritance-plugin)[![Build Status](https://camo.githubusercontent.com/8d0917dc6973b1b52b81c39db06e25f04d968c10a30db372bb0a1be8b03bf09e/68747470733a2f2f7472617669732d63692e6f72672f7468656f66696472792f636f6d706f7365722d696e6865726974616e63652d706c7567696e2e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265)](https://travis-ci.org/theofidry/composer-inheritance-plugin)[![License](https://camo.githubusercontent.com/10e85a5778fe7601504a17ecd18dfa7097f473186b0f947bc10db2d3e4f530e4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d7265642e7376673f7374796c653d666c61742d737175617265)](LICENSE)

Opinionated version of [Wikimedia composer-merge-plugin](https://github.com/wikimedia/composer-merge-plugin) to work in pair with [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin).

Usage
-----

[](#usage)

If you are familiar with [bamarni/composer-bin-plugin](https://github.com/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](https://github.com/wikimedia/composer-merge-plugin) to change that. This library pre-configure this plugin to work more nicely out of the box.

Live example:

```
/nelmio-alice-project
├── composer.json
