2017 © Pedro Peláez
 

composer-plugin composer-revision-plugin

Simple composer plugin which generates a class containing the VCS references of all packages

image

mcuelenaere/composer-revision-plugin

Simple composer plugin which generates a class containing the VCS references of all packages

  • Saturday, March 21, 2015
  • by mcuelenaere
  • Repository
  • 2 Watchers
  • 2 Stars
  • 6,042 Installations
  • PHP
  • 3 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

composer-revision-plugin

Simple composer plugin which generates a class containing the VCS references of all packages, (*1)

Installation

Just run, (*2)

composer require mcuelenaere/composer-revision-plugin

to add this package as a composer dependency to your project., (*3)

Usage

All references of the packages you're using in your project can be accessed through the static ComposerRevisions\Revisions::$byName variable:, (*4)

$revisionOfMyProject = ComposerRevisions\Revisions::$byName['foo/my-project'];
$revisionOfMyLibrary = ComposerRevisions\Revisions::$byName['foo/my-library'];

The Versions

21/03 2015

dev-master

9999999-dev https://github.com/mcuelenaere/composer-revision-plugin

Simple composer plugin which generates a class containing the VCS references of all packages

  Sources   Download

MIT

The Requires

  • composer-plugin-api ~1.0
  • php >=5.3

 

The Development Requires

by Maurus Cuelenaere

03/01 2015

0.1.0

0.1.0.0 https://github.com/mcuelenaere/composer-revision-plugin

Simple composer plugin which generates a class containing the VCS references of all packages

  Sources   Download

MIT

The Requires

  • composer-plugin-api ~1.0
  • php >=5.3

 

The Development Requires

by Maurus Cuelenaere