anburocky3 / unit-conversions
Simple unit conversion PHP package
1.0.0
2021-01-17 22:38 UTC
Requires
- php: ^7.4|^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^4.3
This package is auto-updated.
Last update: 2024-10-24 03:55:18 UTC
README
This is very simple php package where you can use to convert the values to your preferred units.
Installation
You can install the package via composer:
composer require anburocky3/unit-conversions
Usage
$lbs = Weight::fromKilograms(100)->toLbs(); echo $lbs;
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.