PHPackages                             anburocky3/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. anburocky3/unit-conversions

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

anburocky3/unit-conversions
===========================

Simple unit conversion PHP package

1.0.0(5y ago)09[1 PRs](https://github.com/anburocky3/unit-conversions/pulls)MITPHPPHP ^7.4|^8.0CI failing

Since Jan 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/anburocky3/unit-conversions)[ Packagist](https://packagist.org/packages/anburocky3/unit-conversions)[ Docs](https://github.com/anburocky3/unit-conversions)[ RSS](/packages/anburocky3-unit-conversions/feed)WikiDiscussions master Synced 6d ago

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

Simple unit converter
=====================

[](#simple-unit-converter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b40c6e49f823fe832bda0e85b57d8a7fbeab700143510c1b1462de1b437a2f77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616e6275726f636b79332f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anburocky3/unit-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/3309b299840659d93dc0c44d0ccf73164cadabd983c96be16632bde1cdd6e1f4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f616e6275726f636b79332f756e69742d636f6e76657273696f6e732f54657374733f6c6162656c3d7465737473)](https://github.com/anburocky3/unit-conversions/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/77de37a83371a710c26315e2a69d603caa0fc634428fd6cd7e23a6e2a1b438f6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616e6275726f636b79332f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/anburocky3/unit-conversions)

This is very simple php package where you can use to convert the values to your preferred units.

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

[](#installation)

You can install the package via composer:

```
composer require anburocky3/unit-conversions
```

Usage
-----

[](#usage)

```
$lbs = Weight::fromKilograms(100)->toLbs();
echo $lbs;
```

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)

- [Anbu](https://github.com/anburocky3)
- [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

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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

Unknown

Total

1

Last Release

1945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/316c632677281a693214e6f41bc0aa6bb3aa057084d3016a1f056580630b710f?d=identicon)[anburocky3](/maintainers/anburocky3)

---

Top Contributors

[![anburocky3](https://avatars.githubusercontent.com/u/15264938?v=4)](https://github.com/anburocky3 "anburocky3 (3 commits)")

---

Tags

unit-conversionsanburocky3

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/anburocky3-unit-conversions/health.svg)](https://phpackages.com/packages/anburocky3-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)
