Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar committed Dec 21, 2018
1 parent feed14d commit c7e475a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/).

## 1.1.0 (in progress)
## 1.1.0 (21. December 2018)

+ Add version constraint compare function.
+ Add generic iterator class.
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
[![Test Coverage](https://api.codeclimate.com/v1/badges/3d695b2ba5d4298e28fe/test_coverage)](https://codeclimate.com/github/nadar/php-composer-reader/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/3d695b2ba5d4298e28fe/maintainability)](https://codeclimate.com/github/nadar/php-composer-reader/maintainability)

A PHP library to manipulate and read the **composer.json** file, free from any dependencies.
A PHP library to manipulate and read the **composer.json** files.

## Install

Install via Composer

``` bash
```sh
composer require nadar/php-composer-reader
```

Expand Down Expand Up @@ -46,6 +46,11 @@ $section = new RequireSection($reader);

foreach($section as $package) {
echo $package->name . ' with ' . $package->constraint;

// check if package version gerate then a version constraint.
if ($package->greaterThan('^6.5')) {
echo "A lot of releases already!";
}
}
```

Expand Down

0 comments on commit c7e475a

Please sign in to comment.