seferov / turkish-number
Converts numbers to words in Turkish
Installs: 33 822
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- php: >= 7.0
Requires (Dev)
- phpunit/phpunit: ~6|~7
This package is auto-updated.
Last update: 2024-10-29 05:46:37 UTC
README
A PHP library converts numbers to words in Turkish.
It was highly inspired by https://github.com/hynkle/turkish_number which is a Ruby gem that does the same task.
Installation
composer require seferov/turkish-number
Usage
use Seferov\TurkishNumber\TurkishNumber; TurkishNumber::spell(3233); // returns 'üç bin iki yüz otuz üç'