2017 © Pedro PelΓ‘ez
 

composer-plugin composer-inheritance-plugin

Composer plugin to merge multiple sub composer.json files

image

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

The README.md

Composer Inheritance Plugin

Package version Build Status License, (*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/

The Versions

17/12 2017

dev-master

9999999-dev

Composer plugin to merge multiple sub composer.json files

  Sources   Download

MIT

The Requires

 

The Development Requires

29/06 2017

v1.0.1

1.0.1.0

Composer plugin to merge multiple sub composer.json files

  Sources   Download

MIT

The Requires

 

The Development Requires

17/02 2017

v1.0.0

1.0.0.0

Composer plugin to merge multiple sub composer.json files

  Sources   Download

MIT

The Requires

 

The Development Requires

21/09 2016

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