seferov/turkish-number

Converts numbers to words in Turkish

v1.0 2018-10-01 12:54 UTC

README

Build Status

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 üç'