An open API service indexing awesome lists of open source software.

https://github.com/hiqdev/php-units

PHP Units of Measure Library
https://github.com/hiqdev/php-units

hacktoberfest

Last synced: 9 months ago
JSON representation

PHP Units of Measure Library

Awesome Lists containing this project

README

          

# PHP Units

**PHP Units of Measure Library**

[![Latest Stable Version](https://poser.pugx.org/hiqdev/php-units/v/stable)](https://packagist.org/packages/hiqdev/php-units)
[![Total Downloads](https://poser.pugx.org/hiqdev/php-units/downloads)](https://packagist.org/packages/hiqdev/php-units)
[![Build Status](https://img.shields.io/travis/hiqdev/php-units.svg)](https://travis-ci.org/hiqdev/php-units)
[![Scrutinizer Code Coverage](https://img.shields.io/scrutinizer/coverage/g/hiqdev/php-units.svg)](https://scrutinizer-ci.com/g/hiqdev/php-units/)
[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/g/hiqdev/php-units.svg)](https://scrutinizer-ci.com/g/hiqdev/php-units/)

Units of measure library providing:

- immutable objects
- units of measure
- quantity with unit
- conversion

## Installation

The preferred way to install this library is through [composer](http://getcomposer.org/download/).

Either run

```sh
php composer.phar require "hiqdev/php-units"
```

or add

```json
"hiqdev/php-units": "*"
```

to the require section of your composer.json.

## License

This project is released under the terms of the BSD-3-Clause [license](LICENSE).
Read more [here](http://choosealicense.com/licenses/bsd-3-clause).

Copyright © 2017-2019, HiQDev (http://hiqdev.com/)