https://github.com/alceanicu/ro-num
Clasa PHP ce face conversie din numar in litere (romana)
https://github.com/alceanicu/ro-num
convertor i18n php romana
Last synced: 3 months ago
JSON representation
Clasa PHP ce face conversie din numar in litere (romana)
- Host: GitHub
- URL: https://github.com/alceanicu/ro-num
- Owner: alceanicu
- License: mit
- Created: 2017-03-03T13:54:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-02-27T08:30:42.000Z (over 6 years ago)
- Last Synced: 2025-12-14T22:57:19.133Z (6 months ago)
- Topics: convertor, i18n, php, romana
- Language: PHP
- Homepage:
- Size: 37.1 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/alceanicu/ro-num) [](https://packagist.org/packages/alcea/ro-num) [](https://packagist.org/packages/alcea/ro-num) [](https://packagist.org/packages/alcea/ro-num)
# Transformare numar in litere
Clasa PHP ce face conversie din numar(cifre) in litere (romana).
Transforma orice numar din intervalul [0-999 999 999 999] in transcriere lui in litere (in limba romana).
Orice numar invalid sau in afara intervalului va fi convertit in '' (empty space);
Optional se poate seta si un separator (implicint este ' ' [empty space]);
EX:
```txt
0 va fi transcris in 'zero'
83 va fi transcris in 'optzeci şi trei'
10002 va fi transcris in 'zece mii doi',
```
# How to install?
### 1. use composer
```php
composer require alcea/ro-num
```
### 2. or, edit require section from composer.json
```
"alcea/ro-num": "^1.1"
```
# How to use?
```php