ahmadarif/terbilang

v1.5 2017-08-22 16:25 UTC

This package is not auto-updated.

Last update: 2024-05-12 01:34:28 UTC


README

Release Version License Total Downloads

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.