imanghafoori/composer-json

A utility class to read from composer.json file.

v1.0.17 2024-06-16 08:46 UTC

This package is auto-updated.

Last update: 2024-11-08 01:59:11 UTC


README

Tests Coverage Status Latest Version on Packagist StyleCI Total Downloads MIT Licensed

This package helps you read data in your composer.json file.

Installation

You can install the package via composer:

composer require imanghafoori/composer-json

Usage

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.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.