prhost/composer-vendor-merge
Composer 安装命令:
composer create-project prhost/composer-vendor-merge
包简介
README 文档
README
This class has the goal of automatically merge all autoload and vendor. Ideal for those who organize your project in plugins, modules, extensions, etc.
It was extracted from the OctoberCMS project core and adapted to work without the platform.
You can use this class both standalone and via composer package composer require prhost/composer-vendor-merge
Example via Composer package
Install the package
composer require prhost/composer-vendor-merge
Instance and init the classe
$manager = new Prhost\ComposerMergeVendor(); $manager->init();
Adds other vendor by project
//Other vendor $manager->addVendor(__DIR__ . '/path/to/other/vendor');
Example Standalone
Require the classe
require_once 'src/ComposerMergeVendor.php';
Instance and init the classe
$manager = new Prhost\ComposerMergeVendor(); $manager->init();
Adds other vendor by project
//Other vendor $manager->addVendor(__DIR__ . '/path/to/other/vendor');
Credits
统计信息
- 总下载量: 549
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-09-23