| Package Data | |
|---|---|
| Maintainer Username: | hekmati.nasser |
| Maintainer Contact: | hekmati.nasser@gmail.com (Nasser Hekmati) |
| Package Create Date: | 2017-05-26 |
| Package Last Update: | 2022-01-06 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-19 15:03:43 |
| Package Statistics | |
|---|---|
| Total Downloads: | 447,967 |
| Monthly Downloads: | 16,236 |
| Daily Downloads: | 753 |
| Total Stars: | 32 |
| Total Watchers: | 2 |
| Total Forks: | 4 |
| Total Open Issues: | 0 |
This package compatible with Laravel >=5 & < 6.0
notowo is package for change number to word
Run the Composer update comand
$ composer require hekmatinasser/notowo
In your config/app.php add Hekmatinasser\Notowo\NotowoServiceProvider::class, to the end of the providers array and add 'Notowo' => Hekmatinasser\Notowo\Notowo::class, to the end of the alias array.
'providers' => [
...
Hekmatinasser\Notowo\NotowoServiceProvider::class,
],
'alias' => [
...
'Notowo' => Hekmatinasser\Notowo\Notowo::class,
]
You can use Notowo in project
use Notowo;
return notowo('125000'); // one hundred and twenty and five thousand
return new Notowo('125000'); // one hundred and twenty and five thousand
return Notowo::parse(125000); // one hundred and twenty and five thousand
//max 39 digit
return notowo('653484112849950468404684114841147284520', 'fa');
ششصد و پنجاه و سه دسیلیون و چهارصد و هشتاد و چهار نونیلیون و صد و دوازده اکتریلیون و هشتصد و چهل و نه سپتریلیون و نهصد و پنجاه سکستریلیون و چهارصد و شصت و هشت کوینتریلیون و چهارصد و چهار کادریلیون و ششصد و هشتاد و چهار تریلیون و صد و چهارده بیلیون و هشتصد و چهل و یک میلیارد و صد و چهل و هفت میلیون و دویست و هشتاد و چهار هزار و پانصد و بیست
return new Notowo('125000', 'fa'); // صد و بیست و پنج هزار
$w = notowo('125000');
return $w->setLang('fa'); // صد و بیست و پنج هزار
return $w->getLang(); // fa
return $w->resetLang(); // one hundred and twenty and five thousand
$w = Notowo::parse(125000, 'fa');
return $w->currency(); // صد و بیست و پنج هزار ریال
return $w->currency('تومان');
return $w->setCurrency('تومان');
return $w->getCurrency(); // تومان
return $w->resetCurrency(); // صد و بیست و پنج هزار