seferov / turkish-number
Converts numbers to words in Turkish
Installs: 34 260
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-11-29 06:01:04 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 üç'