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 |
Laravel package for the translation of numbers to words
Install package with composer
composer require aizhar777/numbers-to-words
Publish config
php artisan vendor:publish
Aizhar777\NumToWord\NumToWordServiceProvider::class,
'NumbersToWords' => Aizhar777\NumToWord\Facades\NumberToWordsFacade::class,
Controller
echo \NumbersToWords::getStr($number);
Blade
<p> @numToWords($number)</p>