imanghafoori1 / composer-json

A utility class for read composer.json data and use it in PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Composer Json Reader

Latest Version on Packagist Tests 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.

About

A utility class for read composer.json data and use it in PHP

License:MIT License


Languages

Language:PHP 100.0%