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

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

erickzh/unit-conversions
========================

Perform unit conversions in PHP

v1.1.0(5y ago)05MITPHPPHP ^7.4|^8.0CI failing

Since Nov 25Pushed 5y ago1 watchersCompare

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

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

Perform unit conversions in PHP
===============================

[](#perform-unit-conversions-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/646783c46fe3073cda2e559fb2311d5b50b218571c24e38be1e2f50c8fe28fff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f657269636b7a682f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erickzh/unit-conversions)[![GitHub Workflow Status](https://camo.githubusercontent.com/05fa3dee1b1cb3683659d691eeea120c9701a62bfecec50a23cfbfac9d47003c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f457269636b5a482f756e69742d636f6e76657273696f6e732f54657374733f6c6162656c3d5465737473)](https://camo.githubusercontent.com/05fa3dee1b1cb3683659d691eeea120c9701a62bfecec50a23cfbfac9d47003c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f457269636b5a482f756e69742d636f6e76657273696f6e732f54657374733f6c6162656c3d5465737473)[![Total Downloads](https://camo.githubusercontent.com/627e58984d7fd0b27928f2f8fa1745484d8f6c3bf83384e542907d28a9c3bb06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657269636b7a682f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erickzh/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 erickzh/unit-conversions
```

Usage
-----

[](#usage)

```
$skeleton = new Erickzh\UnitConversions();
echo $skeleton->echoPhrase('Hello, Erickzh!');
```

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)

- [ErickZH](https://github.com/ErickZH)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 35% 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

Every ~0 days

Total

2

Last Release

2044d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14044588?v=4)[Erick Zarate Hernández](/maintainers/erickzh)[@ErickZH](https://github.com/ErickZH)

---

Top Contributors

[![ErickZH](https://avatars.githubusercontent.com/u/14044588?v=4)](https://github.com/ErickZH "ErickZH (9 commits)")

---

Tags

unit-conversionserickzh

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

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

PHPackages © 2026

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