Skip to content

ahmadarif/terbilang-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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.