PHPackages                             cmontellanob/numeros-en-letras - 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. cmontellanob/numeros-en-letras

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

cmontellanob/numeros-en-letras
==============================

Convierte cualquier número en letras con el valor correspondiente.

1.0.0(3y ago)012MITPHPPHP ^8.0

Since Jul 20Pushed 3y agoCompare

[ Source](https://github.com/cmontellanob/Numeros-en-Letras)[ Packagist](https://packagist.org/packages/cmontellanob/numeros-en-letras)[ RSS](/packages/cmontellanob-numeros-en-letras/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/e586355f190aa1e72ecec6c41a22edd07e0cbb9eabb875e9a285299f22764f1f/68747470733a2f2f706f7365722e707567782e6f72672f76696c6c63612f6e756d65726f732d656e2d6c65747261732f762f737461626c652e737667)](https://packagist.org/packages/villca/numeros-en-letras)[![Total Downloads](https://camo.githubusercontent.com/991d69f85a540c80209e1cdf5ea60ce50969b35881cd1b062109e19e40e56f6c/68747470733a2f2f706f7365722e707567782e6f72672f76696c6c63612f6e756d65726f732d656e2d6c65747261732f642f746f74616c2e737667)](https://packagist.org/packages/villca/numeros-en-letras)[![License](https://camo.githubusercontent.com/086f02b500314589cba2d323bf0f2f00f42394c31e7e331db9f7aa70e361123b/68747470733a2f2f706f7365722e707567782e6f72672f76696c6c63612f6e756d65726f732d656e2d6c65747261732f6c6963656e73652e737667)](https://packagist.org/packages/villca/numeros-en-letras)

PHP Framework
-------------

[](#php-framework)

[![](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)[![](https://camo.githubusercontent.com/58be7c146c01117bfd85f1dd3fe373ccebee3ca9b5ede38ed80ea085981d924a/68747470733a2f2f73796d666f6e792e636f6d2f6c6f676f732f73796d666f6e795f626c61636b5f30322e737667)](https://camo.githubusercontent.com/58be7c146c01117bfd85f1dd3fe373ccebee3ca9b5ede38ed80ea085981d924a/68747470733a2f2f73796d666f6e792e636f6d2f6c6f676f732f73796d666f6e795f626c61636b5f30322e737667)

Descripción
-----------

[](#descripción)

Convierte cualquier número en letras con el valor correspondiente.

3.982.908,99

Formato #1 `Tres millones novecientos ochenta y dos mil novecientos ocho con noventa y nueve `

Formato #2 `Tres millones novecientos ochenta y dos mil novecientos ocho Bolivianos con noventa y nueve Centavos`

Formato #3 `3.982.908,99 (Tres millones novecientos ochenta y dos mil novecientos ocho 99/100 Bolivianos)`

Instalación
-----------

[](#instalación)

Segir los siguientes pasos.

Mediante comando:

```
$ composer require villca/numeros-en-letras

```

ó modificando el archivo composer.json:

```
{
    "require": {
        "cmontellanob/numeros-en-letras": "1.0.0"
    }
}
```

Configuración
-------------

[](#configuración)

Agregar a Controlador `use NumerosEnLetras;`

Ejemplo Laravel
---------------

[](#ejemplo-laravel)

Agregar a la Ruta en "routes/web.php"

```
$ Route::get('/carlosmontellanob', 'HomeController');

```

Crear el controlador "HomeController.php"

```
