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

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

rafa1944/unit-conversions
=========================

Perform unit conversions in PHP

1.1.0(5y ago)09MITPHPPHP ^7.4|^8.0CI failing

Since Dec 2Pushed 5y ago1 watchersCompare

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

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/0e1b03ce55e7e94201ccaf34424fb37669dfd3972d31d273a4c63c2bf15203a5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72616661313934342f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rafa1944/unit-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/6d37326a5f3494e70e5f77339def1a8d686da418d6f9c0bc1956b269abcf9504/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f72616661313934342f756e69742d636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/rafa1944/unit-conversions/actions?query=workflow%3Atests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/9e906cf992cfc1346f010f256fc39e01ca4740da3c4a3fb91b568b0525e80882/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f72616661313934342f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rafa1944/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 rafa1944/unit-conversions
```

Usage
-----

[](#usage)

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

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)

- [Rafa Alcántara](https://github.com/rafa1944)
- [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

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 ~3 days

Total

2

Last Release

1986d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0405ed1fdcced3bda7e02b886cd22c8b3ac8a284aa70538cbe0af5622ee97ca?d=identicon)[rafa1944](/maintainers/rafa1944)

---

Top Contributors

[![rafa1944](https://avatars.githubusercontent.com/u/3229521?v=4)](https://github.com/rafa1944 "rafa1944 (15 commits)")

---

Tags

unit-conversionsrafa1944

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[spatie/unit-conversions

Perform unit conversions in PHP

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

PHPackages © 2026

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