ahmadarif / terbilang
v1.5
2017-08-22 16:25 UTC
Requires
- php: ~5.6|~7.0
- illuminate/support: ~5.1
Requires (Dev)
- phpunit/phpunit: >=5.4.3
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2024-12-22 05:03:32 UTC
README
Install
Via Composer
$ composer require ahmadarif/terbilang
Usage
Add the service provider in config/app.php
:
AhmadArif\Terbilang\TerbilangServiceProvider::class,
And then, add the facade of this package to the $aliases array:
'Terbilang' => AhmadArif\Terbilang\Facade\Terbilang::class,
Usage
Route::get('/', function () { return Terbilang::convert(34124); });
or
Route::get('/', function () { return Terbilang::convert('34124'); });
Security
If you discover any security related issues, please email ahmad.arif019@gmail.com instead of using the issue tracker.
Credits
Base Project
Thanks to Mulia Nasution, as the basic project for the creation of this library.
License
The MIT License (MIT). Please see License File for more information.