Package Data | |
---|---|
Maintainer Username: | rokde |
Maintainer Contact: | rok@ipunkt.biz (Robert Kummer) |
Package Create Date: | 2014-06-15 |
Package Last Update: | 2014-07-23 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-19 03:10:27 |
Package Statistics | |
---|---|
Total Downloads: | 9,698 |
Monthly Downloads: | 122 |
Daily Downloads: | 0 |
Total Stars: | 3 |
Total Watchers: | 4 |
Total Forks: | 0 |
Total Open Issues: | 0 |
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.