theofidry/composer-inheritance-plugin
最新稳定版本:v1.2.0
Composer 安装命令:
composer require theofidry/composer-inheritance-plugin
包简介
Composer plugin to merge multiple sub composer.json files
README 文档
README
Opinionated version of Wikimedia composer-merge-plugin to work in pair with bamarni/composer-bin-plugin.
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.
Live example: https://github.com/nelmio/alice
/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/
统计信息
- 总下载量: 163.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 30
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 未知