raliqala/any-conversions

Everything conversion like Kilograms to Pounds, temperature, weight,volume, speed, length, angle, time etc..

1.2.0 2021-10-04 19:21 UTC

This package is auto-updated.

Last update: 2025-05-15 03:48:06 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

This package can perform various unit conversions. Right now, It supports kg to other weights etc.. and celsius to other temperatures, this package is still new so i'm still compiling docs.

Here's how to use it:

use raliqala\AnyConversions\Weight;

Weight::fromKilograms(100)->toLbs(); // returns 220.4623;

Installation

You can install the package via composer:

composer require raliqala/any-conversions

Usage

From kg to lbs

raliqala\AnyConversions\Weight::fromKilograms(100)->toLbs(); // returns 220.4623;

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email thabohappy55@gmail.com instead of using the issue tracker.

Credits

License

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