imanghafoori/composer-json
Read and query data from any composer.json with a simple API. Provide the absolute path, create an instance, and access common fields via convenient methods—useful for tooling, package inspection, and build scripts.
This package helps you read data in your composer.json file.
You can install the package via composer:
composer require imanghafoori/composer-json
You have to pass the absolute path to the composer.json file to the make method.
$composer = \ImanGhafoori\ComposerJson\ComposerJson::make(__DIR__);
Then you will have access to a handful of methods.
composer test
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?