mohammad19khodaei/unit-conversion

Perfom unit conversion in PHP

Maintainers

Package info

github.com/mohammad19khodaei/unit-conversion

pkg:composer/mohammad19khodaei/unit-conversion

Fund package maintenance!

spatie

Other

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2020-11-05 15:29 UTC

This package is auto-updated.

Last update: 2026-02-13 20:19:58 UTC


README

Latest Version on Packagist Tests Total Downloads

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.