mcuelenaere/composer-revision-plugin
最新稳定版本:0.1.0
Composer 安装命令:
composer require mcuelenaere/composer-revision-plugin
包简介
Simple composer plugin which generates a class containing the VCS references of all packages
README 文档
README
Simple composer plugin which generates a class containing the VCS references of all packages
Installation
Just run
composer require mcuelenaere/composer-revision-plugin
to add this package as a composer dependency to your project.
Usage
All references of the packages you're using in your project can be accessed through the static ComposerRevisions\Revisions::$byName variable:
$revisionOfMyProject = ComposerRevisions\Revisions::$byName['foo/my-project']; $revisionOfMyLibrary = ComposerRevisions\Revisions::$byName['foo/my-library'];
统计信息
- 总下载量: 6.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-03