spike / number-to-word
A PHP package for converting numbers to words.
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.0
- ext-json: *
README
A PHP package for converting numbers to words.
A PHP package for converting numbers to words.
This package provides a convenient way to convert numeric values into their corresponding textual representation.
Installation
The preferred method of installation is via [Composer][]. Run the following
command to install the package and add it as a requirement to your project's
composer.json
:
composer require spike/number-to-word
Upgrading to Version 1.0.3
Uses
use Spike\AmountToWord; $transform = new TransformWord(); echo $transform->toWord(522525.25);
Output
Five Lac Twenty Two Thousands Five Hundred and Twenty Five And Two Five Paisa