PHPackages                             ketsakda/unit-conversions - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ketsakda/unit-conversions

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ketsakda/unit-conversions
=========================

This is my package UnitConversions

1.1.1(5y ago)03MITPHPPHP ^8.0

Since Apr 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ketsakda/unit-conversions)[ Packagist](https://packagist.org/packages/ketsakda/unit-conversions)[ Docs](https://github.com/ketsakda/unit-conversions)[ GitHub Sponsors](https://github.com/kravanh)[ RSS](/packages/ketsakda-unit-conversions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

This is my package UnitConversions
==================================

[](#this-is-my-package-unitconversions)

---

[![Latest Version on Packagist](https://camo.githubusercontent.com/e76bf16696feabd6dc112ff83fc7181cb5a412f0720b41510be9e8d92f7bea6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b657473616b64612f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ketsakda/unit-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/8308c1df3813400cd903342da6eff2e28225d8bdc9960bb1337eafc40dafeafc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6b657473616b64612f756e69742d636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/ketsakda/unit-conversions/actions?query=workflow%3ATests+branch%3Amaster)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/663c29aae131d0a6f93c1ef4b41cfc221934023ed82644040ae5c18c2d603fd4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6b657473616b64612f756e69742d636f6e76657273696f6e732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/ketsakda/unit-conversions/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/68278b5f44d821fd8d33cb7023d2d5beb8716e1d00d82058a99a9250fd1f0d2d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b657473616b64612f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ketsakda/unit-conversions)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require kravanh/unit_conversions
```

Usage
-----

[](#usage)

```
echo Weight::fromKilogram(100)->toLbs();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [ket sakda](https://github.com/ketsakda)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1846d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e65b831147934c38215782b65c1c0839b1d3841cf5b70d1c037cc5d2cecbb74?d=identicon)[ketsakda](/maintainers/ketsakda)

---

Top Contributors

[![ketsakda](https://avatars.githubusercontent.com/u/2078890?v=4)](https://github.com/ketsakda "ketsakda (1 commits)")

---

Tags

unit-conversionskravanh

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ketsakda-unit-conversions/health.svg)

```
[![Health](https://phpackages.com/badges/ketsakda-unit-conversions/health.svg)](https://phpackages.com/packages/ketsakda-unit-conversions)
```

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

343.5k](/packages/spatie-unit-conversions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
