rcngo/pt-br-number-in-words

Retorna um número por extenso

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/rcngo/pt-br-number-in-words

1.2.5 2020-08-21 13:14 UTC

This package is auto-updated.

Last update: 2025-11-06 02:09:19 UTC


README

Installation / Configuration

Navigate to your project folder, for example:

cd /etc/www/projeto

And then run:

composer require rcngo/pt-br-number-in-words:1.2.* --no-scripts

Or add it to the composer.json file, add it to your "require" :, example:

{
    "require": {
        "rcngo/pt-br-number-in-words": "1.2.*"
    }
}

Run the composer update --no-scripts command.

Use

NumberInWords::convertToWords(1);
//Return um real

NumberInWords::convertToWords(1, false);
//Return um

NumberInWords::convertToWords(1, false, true);
//Return uma