PHPackages                             fordev/literalnumbers - 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. fordev/literalnumbers

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

fordev/literalnumbers
=====================

Change numeric amounts to literal

049PHP

Since Mar 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Forien/literalnumbers)[ Packagist](https://packagist.org/packages/fordev/literalnumbers)[ RSS](/packages/fordev-literalnumbers/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

LiteralNumbers for Laravel
==========================

[](#literalnumbers-for-laravel)

This package changes numeric amounts to literal representative and supports multilingual apps.

Designed for Polish grammar but can work with others.

Usage
-----

[](#usage)

```
$ln = LiteralNumbers::getInstance(App::getLocale());
echo $ln->toLiteral(4558);
```

Outputs: `Four thousand five hundred fifty eight`

Currencies
----------

[](#currencies)

If you want to add literal currency use `setCurrency()` and `currency(true)`:

```
$ln->setCurrency('usd')->currency(true);
echo $ln->toLiteral(14);
```

Outputs: `Fourteen United States dollars`

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/68f0a0815d7e75e595bdfbc8a41c4a04d61a37cbed08dff1c29cd782ae6527d8?d=identicon)[Forien](/maintainers/Forien)

---

Top Contributors

[![Forien](https://avatars.githubusercontent.com/u/11304207?v=4)](https://github.com/Forien "Forien (7 commits)")

### Embed Badge

![Health badge](/badges/fordev-literalnumbers/health.svg)

```
[![Health](https://phpackages.com/badges/fordev-literalnumbers/health.svg)](https://phpackages.com/packages/fordev-literalnumbers)
```

###  Alternatives

[dantleech/fink

Checks Links

2266.5k2](/packages/dantleech-fink)[maantje/pulse-php-fpm

A Laravel Pulse card to show php-fpm status

46142.1k](/packages/maantje-pulse-php-fpm)[bitrix-expert/bbc-module

Module with classes for the basis components

1952.0k1](/packages/bitrix-expert-bbc-module)

PHPackages © 2026

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