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

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

dndeus/unit-conversions
=======================

A php unit conversion package

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

Since Sep 14Pushed 5y ago1 watchersCompare

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

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

A php unit conversion package
=============================

[](#a-php-unit-conversion-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2e1477e45ae6d968b4bf58616e5fbe6c871352ce1baad706109556c936b82102/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646e646575732f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dndeus/unit-conversions)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c7ac0df274d02d01a512f3465f6b0b2a2497aa3b7b05153d6e5003992fd3fb59/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f646e646575732f756e69742d636f6e76657273696f6e732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/dndeus/unit-conversions/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/f9d421fb0142984a981964b72dc0ebf9ea33b004ab383ca91bfc447c3751925a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646e646575732f756e69742d636f6e76657273696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dndeus/unit-conversions)

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

Support us
----------

[](#support-us)

Learn how to create a package like this one, by watching our premium video course:

[![Laravel Package training](https://camo.githubusercontent.com/4c7f3720a29525e627f6004ee367e55def510e45d18e6bc974725812fa5cf257/68747470733a2f2f7370617469652e62652f6769746875622f7061636b6167652d747261696e696e672e6a7067)](https://laravelpackage.training)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require dndeus/unit-conversions
```

Usage
-----

[](#usage)

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

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
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

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

License
-------

[](#license)

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

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db9b3b60be5b557372b568431c5fbed8afd66e8d8998e42a47d85ff90f5d4c9?d=identicon)[dndeus](/maintainers/dndeus)

---

Top Contributors

[![dndeus](https://avatars.githubusercontent.com/u/1295790?v=4)](https://github.com/dndeus "dndeus (10 commits)")

---

Tags

unit-conversionsdndeus

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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