2017 © Pedro Peláez
 

composer-plugin package-info

Composer plugin that provides efficient querying for installed package versions (no runtime IO)

image

thadafinser/package-info

Composer plugin that provides efficient querying for installed package versions (no runtime IO)

  • Tuesday, August 9, 2016
  • by ThaDafinser
  • Repository
  • 1 Watchers
  • 5 Stars
  • 57,962 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 14 % Grown

The README.md

PackageInfo

Build Status Code Coverage Scrutinizer Code Quality, (*1)

Latest Stable Version Latest Unstable Version License Total Downloads, (*2)

This package was highly inspired from ocramius/package-versions, (*3)

I needed some methods to read data from the composer.lock file fast...this is the result, (*4)

$bool = \PackageInfo\Package::isInstalled('vendor/package-name'); // return true/false

// may throw PackageNotInstalledException if the package is not installed
$package = new \PackageInfo\Package('vendor/package-name');
$package->getName();
$package->getDescription();
$package->getVersion();
$package->getType();
$package->getKeywords();
// ...

The Versions

09/08 2016

dev-master

9999999-dev

Composer plugin that provides efficient querying for installed package versions (no runtime IO)

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Avatar ThaDafinser

09/08 2016

v1.0.0

1.0.0.0

Composer plugin that provides efficient querying for installed package versions (no runtime IO)

  Sources   Download

MIT

The Requires

  • php ~5.6|~7.0
  • composer-plugin-api ^1.0

 

The Development Requires

by Avatar ThaDafinser