Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.36 KB

README.md

File metadata and controls

64 lines (38 loc) · 1.36 KB

Terbilang Laravel

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 [email protected] 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.