chrtri/unit-conversions

Package to perform unit conversion in PHP

1.1.0 2020-06-10 07:24 UTC

This package is auto-updated.

Last update: 2024-05-10 17:07:56 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation

You can install the package via composer:

composer require chrtri/unit-conversions

Usage

include('vendor/autoload.php');

echo \ChrTri\UnitConversions\Weight::fromKilograms(100)->toLbs() . PHP_EOL;

Testing

call vendor/bin/phpunit UnitTest tests/WeightTest.php

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email xxx@xxx.xx instead of using the issue tracker.

Credits

License

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