PHPackages                             rhdevelopment/numbers-for-humans - 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. rhdevelopment/numbers-for-humans

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

rhdevelopment/numbers-for-humans
================================

Format numbers, sizes, and dates into human readable strings.

v1.0.0(6mo ago)01MITPHPPHP ^7.4 || ^8.0

Since Oct 23Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/hadley8899/NumbersForHumans)[ Packagist](https://packagist.org/packages/rhdevelopment/numbers-for-humans)[ Docs](https://github.com/hadley8899/NumbersForHumans)[ RSS](/packages/rhdevelopment-numbers-for-humans/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

Numbers for Humans
==================

[](#numbers-for-humans)

Turn plain numbers, dates, and byte counts into friendly, human-oriented strings.
`rhdevelopment/numbers-for-humans` wraps a handful of common formatting tasks into a single, lightweight helper class.

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

[](#installation)

```
composer require rhdevelopment/numbers-for-humans
```

The package requires PHP `^7.4 || ^8.0`, the `intl` extension, and [nesbot/carbon](https://carbon.nesbot.com/).

Quick start
-----------

[](#quick-start)

```
