anburocky3/unit-conversions

Simple unit conversion PHP package

1.0.0 2021-01-17 22:38 UTC

This package is auto-updated.

Last update: 2024-10-24 03:55:18 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

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.