- convert number to words
- Add library to your project by using composer
- Call below function where ever you need
- this is a static function no need to create an object of the class
composer require fayyaztech/number_to_word
echo NumberToWord::convert(123)
- most of the time your IDE import package automatically but if you get the error of class not found and do past below line on the top of the file.
use Fayyaztech\NumberToWord\NumberToWord;