mohammad19khodaei / unit-conversion
Perfom unit conversion in PHP
1.1.0
2020-11-05 15:29 UTC
Requires
- php: ^7.4
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpunit/phpunit: ^9.3
- vimeo/psalm: ^3.11
This package is auto-updated.
Last update: 2025-06-13 18:51:24 UTC
README
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.