mesba/unitconversion

perform unit conversion in php

1.0.1 2024-03-16 19:50 UTC

README

A simple php package for metric conversion. Kg to Pounds Celsius to Fahrenheit

Installation

You can install the package via composer:

composer require mesba/unitconversion

Usage

include 'vendor/autoload.php';
echo Weight::fromKilograms(100)->tolbs();
echo Temperature::fromCelsius(33)->toFr();

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.