Parses composer.lock and returns informations about the used packages
ipunkt/composer-about is a Laravel package for parses composer.lock and returns informations about the used packages.
It currently has 3 GitHub stars and 10.238 downloads on Packagist (latest version 1.0.0).
Install it with composer require ipunkt/composer-about.
Discover more Laravel packages by ipunkt
or browse all Laravel packages to compare alternatives.
Last updated
Parses composer.lock and returns informations about the used packages
Mainly developed for Laravel, but can still be used in all other Frameworks or Vanilla PHP applications.
Add service provider to app.config
'Ipunkt\ComposerAbout\ComposerAboutServiceProvider',
Use it in your routes.php or Controller action
/** @var \Ipunkt\ComposerAbout\Structure\ComposerStructure $composerAbout */
$composerAbout = App::make('composer-about');
Hash of the current installed packages.
A Collection of Package object instances for the packages used.
A Collection of Package object instances for the dev packages used.
An array of all unique licenses for all required packages. Perhaps for a summary of used licenses. Can be very useful, if you want to check, that there is a defined license that you do not want to have.
For current methods please see Ipunkt\ComposerAbout\Structure\Data\Package.php
Returns the name of the package.
Returns the version of the package.
Returns the description of the package.
Returns an array of alle Authors...each author has 'name' and 'email' set, if possible.
Returns the licenses of the package.
Returns the type of the package. E.g. library
Returns the name of the package.