mohammad19khodaei/unit-conversion

Perfom unit conversion in PHP

1.1.0 2020-11-05 15:29 UTC

This package is auto-updated.

Last update: 2025-06-13 18:51:24 UTC


README

Latest Version on Packagist Tests Total Downloads

This package can perform various unit conversions.Right now only kg to lbs is supported.

Installation

You can install the package via composer:

composer require mohammad19khodaei/unit-conversion

Usage

use Mohammad19khodaei\UnitConversion\Weight;

Weight::fromKilogerams(100)->toLbs(); // return 440.92

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Credits

License

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