PHPackages                             rickkuilman/awesome-units - 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. rickkuilman/awesome-units

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

rickkuilman/awesome-units
=========================

Converts everyday units to awesome, funny or nerdy units

1.0.0(6y ago)23MITPHP

Since Jul 31Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rickkuilman/awesome-units)[ Packagist](https://packagist.org/packages/rickkuilman/awesome-units)[ RSS](/packages/rickkuilman-awesome-units/feed)WikiDiscussions master Synced today

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

[![Build Status](https://camo.githubusercontent.com/abb8720f56c1b222ac68f1a3dcfd631a141cc80e25899170e43ef2f5d58b1331/68747470733a2f2f7472617669732d63692e6f72672f7269636b6b75696c6d616e2f617765736f6d652d756e6974732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rickkuilman/awesome-units) [![StyleCI](https://camo.githubusercontent.com/d72c746ca64edcb8440ce0d6a5594297f88d9989edf1729fc5302e1880845b31/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139393932323132332f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/199922123) [![codecov](https://camo.githubusercontent.com/20ab6ba2ee329503e513c0aaa86dd152e217cc8f226a66b7a692a264a81f19df/68747470733a2f2f636f6465636f762e696f2f67682f7269636b6b75696c6d616e2f617765736f6d652d756e6974732f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/rickkuilman/awesome-units)

Awesome Units
=============

[](#awesome-units)

Awesome Units is a PHP library for converting everyday (boring..) units to awesome, funny or nerdy units.

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

[](#installation)

Require the package using [composer](https://getcomposer.org/):

```
composer require rickkuilman/awesome-units
```

Usage
-----

[](#usage)

```
use \RickKuilman\AwesomeUnits\AwesomeUnit;

$coffeeCups = new AwesomeUnit(10)
   ->liters()
   ->toCoffeeCups();

echo "10 liters is equal to " . $coffeeCups . " cups of coffee!"
// 10 liters is equal to 40 cups of coffee!
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](./LICENSE.md)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

2475d ago

### Community

Maintainers

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

---

Top Contributors

[![rickkuilman](https://avatars.githubusercontent.com/u/7881219?v=4)](https://github.com/rickkuilman "rickkuilman (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rickkuilman-awesome-units/health.svg)

```
[![Health](https://phpackages.com/badges/rickkuilman-awesome-units/health.svg)](https://phpackages.com/packages/rickkuilman-awesome-units)
```

###  Alternatives

[kartik-v/yii2-widget-datepicker

Enhanced Yii2 wrapper for the bootstrap datepicker plugin (sub repo split from yii2-widgets).

1097.0M60](/packages/kartik-v-yii2-widget-datepicker)[php-stubs/wp-cli-stubs

WP-CLI function and class declaration stubs for static analysis.

302.3M79](/packages/php-stubs-wp-cli-stubs)

PHPackages © 2026

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