aizhar777 / numbers-to-words by aizhar777

Laravel package for the translation of numbers to words
760
0
2
Package Data
Maintainer Username: aizhar777
Maintainer Contact: aizharolexin@gmail.com (Aizhar777)
Package Create Date: 2016-10-31
Package Last Update: 2016-10-31
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:05:01
Package Statistics
Total Downloads: 760
Monthly Downloads: 15
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 1

Number to words

Laravel package for the translation of numbers to words

Install

Install package with composer

composer require aizhar777/numbers-to-words

Publish config

php artisan vendor:publish

Add Provider

Aizhar777\NumToWord\NumToWordServiceProvider::class,

Add Facade

'NumbersToWords' => Aizhar777\NumToWord\Facades\NumberToWordsFacade::class,

Basic usage

Controller

echo \NumbersToWords::getStr($number);

Blade

<p> @numToWords($number)</p>