webklex / composer-info
PHP Composer info accessor
Installs: 50 050
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.5.9
- ext-json: *
This package is auto-updated.
Last update: 2024-11-13 08:24:31 UTC
README
Description
Access the current details of your composer.lock file.
Table of Contents
Installation
1.) Now install the composer-info
package by running the following command:
composer require webklex/composer-info
Configuration
Detailed config/composer-info.php configuration:
location
— used default composer.lock location
Usage
Basic usage example
This is a basic example, which will echo the current version of webklex/composer-info
and dump the
all available package information.
use Webklex\ComposerInfo\ComposerInfo; new ComposerInfo(); var_dump(ComposerInfo::getPackage("webklex/composer-info")); echo ComposerInfo::getPackageVersion("webklex/composer-info");
Support
If you encounter any problems or if you find a bug, please don't hesitate to create a new issue. However please be aware that it might take some time to get an answer. Off topic, rude or abusive issues will be deleted without any notice.
If you need immediate or commercial support, feel free to send me a mail at github@webklex.com.
A little notice
If you write source code in your issue, please consider to format it correctly. This makes it so much nicer to read and people are more likely to comment and help :)
``` php
echo 'your php code...';
```
will turn into:
echo 'your php code...';
Features & pull requests
Everyone can contribute to this project. Every pull request will be considered but it can also happen to be declined. To prevent unnecessary work, please consider to create a feature issue first, if you're planning to do bigger changes. Of course you can also create a new feature issue if you're just wishing a feature ;)
Documentation
ComposerInfo::class
Change log
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email github@webklex.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.