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

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

gabrielfemi/unit-conversions
============================

A package that converts from a unit to the other.

1.0.0(5y ago)16MITPHPPHP ^7.4CI failing

Since Nov 3Pushed 5y ago2 watchersCompare

[ Source](https://github.com/GabrielFemi/unit-conversions)[ Packagist](https://packagist.org/packages/gabrielfemi/unit-conversions)[ Docs](https://github.com/gabrielfemi/unit-conversions)[ GitHub Sponsors](https://github.com/sponsors/spatie)[ Fund](https://spatie.be/open-source/support-us)[ RSS](/packages/gabrielfemi-unit-conversions/feed)WikiDiscussions master Synced 3d ago

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

A package that converts from a unit to the other.
=================================================

[](#a-package-that-converts-from-a-unit-to-the-other)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b13ecf8e53486890c0c2878a832fb97e11a99664a9a5579ffcbc03c8e53eca1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6761627269656c66656d692f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrielfemi/unit-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/bfe927dded6a61b6f73da8b605e22f091c9e4de95947528e22f541207f8bc432/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6761627269656c66656d692f756e69742d636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/gabrielfemi/unit-conversions/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/c95bb40c2f19af296b5699d945e3cfa4a34149599dfaa7d04396eb44e259eb49/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6761627269656c66656d692f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrielfemi/unit-conversions)

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require gabrielfemi/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)

- [Gabriel Akinyosoye](https://github.com/GabrielFemi)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

2017d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/152432164?v=4)[GabrielFemi](/maintainers/GabrielFemi)[@gabrielfemi](https://github.com/gabrielfemi)

---

Top Contributors

[![otilor](https://avatars.githubusercontent.com/u/39733548?v=4)](https://github.com/otilor "otilor (6 commits)")

---

Tags

unit-conversionsgabrielfemi

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

363.5k](/packages/spatie-unit-conversions)[pressbooks/pressbooks-aldine

Aldine is the default theme for the home page of Pressbooks networks. It is named for the Aldine Press, founded by Aldus Manutius in 1494, who is regarded by many as the world’s first publisher.

114.3k](/packages/pressbooks-pressbooks-aldine)

PHPackages © 2026

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