PHPackages                             mtferreira/numeroextenso - 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. mtferreira/numeroextenso

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

mtferreira/numeroextenso
========================

Converte numeral em valor por extenso.

v1.0.0(7y ago)014.1k↓40%MITPHPPHP &gt;=5.6

Since Jan 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mtferreira/numeroextenso)[ Packagist](https://packagist.org/packages/mtferreira/numeroextenso)[ RSS](/packages/mtferreira-numeroextenso/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Número por Extenso
==================

[](#número-por-extenso)

Converte numeral em valor por extenso.

[![](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://github.com/mtferreira/numeroextenso/blob/master/LICENSE)

### Como usar:

[](#como-usar)

```
composer require mtferreira/numeroextenso
```

```
include __DIR__.'/vendor/autoload.php';

use Mtferreira\NumeroExtenso\NumeroExtenso;

$extenso = NumeroExtenso::converter(123.45);
echo $extenso;
```

- Retorno:

```
cento e vinte três reais e quarenta cinco centavos

```

```
include __DIR__.'/vendor/autoload.php';

use Mtferreira\NumeroExtenso\NumeroExtenso;

$negativo = NumeroExtenso::converter(-1);
echo $negativo;
```

- Retorno:

```
false

```

Exemplos:
---------

[](#exemplos)

```
12345.67
doze mil e trezentos e quarenta e cinco reais e sessenta e sete centavos

1234.56
mil e duzentos e trinta e quatro reais e cinquenta e seis centavos

123.45
cento e vinte e três reais e quarenta e cinco centavos

12.34
doze reais e trinta e quatro centavos

1.23
um real e vinte e três centavos

0.21
vinte e um centavos

0.04
quatro centavos

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

2670d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6555164?v=4)[Matheus Ferreira ](/maintainers/mtferreira)[@mtferreira](https://github.com/mtferreira)

---

Top Contributors

[![mtferreira](https://avatars.githubusercontent.com/u/6555164?v=4)](https://github.com/mtferreira "mtferreira (5 commits)")

---

Tags

phpnumeroextensobrasilrealmoeda

### Embed Badge

![Health badge](/badges/mtferreira-numeroextenso/health.svg)

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

###  Alternatives

[wgenial/numeroporextenso

Converte numeral em valor por extenso.

4666.9k](/packages/wgenial-numeroporextenso)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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