{"id":34007677,"url":"https://github.com/alceanicu/ro-num","last_synced_at":"2026-03-17T20:05:00.718Z","repository":{"id":56943866,"uuid":"83803258","full_name":"alceanicu/ro-num","owner":"alceanicu","description":"Clasa PHP ce face conversie din numar in litere (romana)","archived":false,"fork":false,"pushed_at":"2020-02-27T08:30:42.000Z","size":38,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-14T22:57:19.133Z","etag":null,"topics":["convertor","i18n","php","romana"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alceanicu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-03T13:54:35.000Z","updated_at":"2023-09-27T14:38:30.000Z","dependencies_parsed_at":"2022-08-21T02:40:18.289Z","dependency_job_id":null,"html_url":"https://github.com/alceanicu/ro-num","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/alceanicu/ro-num","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alceanicu%2Fro-num","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alceanicu%2Fro-num/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alceanicu%2Fro-num/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alceanicu%2Fro-num/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alceanicu","download_url":"https://codeload.github.com/alceanicu/ro-num/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alceanicu%2Fro-num/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30630040,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convertor","i18n","php","romana"],"created_at":"2025-12-13T11:08:54.957Z","updated_at":"2026-03-17T20:05:00.713Z","avatar_url":"https://github.com/alceanicu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/alceanicu/ro-num.svg?branch=master)](https://travis-ci.org/alceanicu/ro-num) [![Latest Stable Version](https://poser.pugx.org/alcea/ro-num/v/stable.svg)](https://packagist.org/packages/alcea/ro-num) [![Total Downloads](https://poser.pugx.org/alcea/ro-num/downloads.svg)](https://packagist.org/packages/alcea/ro-num) [![License](https://poser.pugx.org/alcea/ro-num/license.svg)](https://packagist.org/packages/alcea/ro-num)\n\n# Transformare numar in litere\nClasa PHP ce face conversie din numar(cifre) in litere (romana).\nTransforma orice numar din intervalul [0-999 999 999 999] in transcriere lui in litere (in limba romana).\nOrice numar invalid sau in afara intervalului va fi convertit in '' (empty space);\nOptional se poate seta si un separator (implicint este ' ' [empty space]);\nEX:\n```txt\n0 va fi transcris in 'zero'\n83 va fi transcris in 'optzeci şi trei'\n10002 va fi transcris in 'zece mii doi',\n```\n\n# How to install?\n\n### 1. use composer\n```php\ncomposer require alcea/ro-num\n```\n\n### 2. or, edit require section from composer.json\n```\n\"alcea/ro-num\": \"^1.1\"\n```\n\n# How to use?\n\n```php\n\u003c?php\n# require __DIR__ . '\\vendor\\autoload.php';\nuse alcea\\romanian\\TranslateNumberToTxt;\n\n$number = '22620';\necho new TranslateNumberToTxt($number);      // douăzeci şi două de mii şase sute douăzeci \necho new TranslateNumberToTxt($number, '#'); // douăzeci#şi#două#de#mii#şase#sute#douăzeci \necho new TranslateNumberToTxt($number, '');  // douăzecişidouădemiişasesutedouăzeci\n \n// or\n\necho TranslateNumberToTxt::convert(255);     // 'două sute cincizeci şi cinci'\necho TranslateNumberToTxt::convert(83, '#'); // 'optzeci#şi#trei'\n```\n\n# How to run tests?\n```\n## Open an terminal and run commands:\ngit clone https://github.com/alceanicu/ro-num.git\ncd ro-num\ncomposer install\n./vendor/bin/phpunit --bootstrap ./vendor/autoload.php --testdox\n```\n\n## License\n\nThis package is licensed under the [MIT](http://opensource.org/licenses/MIT) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falceanicu%2Fro-num","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falceanicu%2Fro-num","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falceanicu%2Fro-num/lists"}