/NumberToWords

A PHP library to convert a number into words.

Primary LanguagePHPMIT LicenseMIT

NumberToWords

Introduction

NumberToWords is a PHP tool to convert a number into words.

Requirements

  • php >= 5.6

Installation

It is available via Composer:

"require": {
    "mhabibi/number-to-words": "dev-master"
}

Languages

For now it supports only Persian language.

With some changes you can add new languages, customize a file in languages directory and contribute this project.

Testing

$ phpunit