PHP code example of lugasdev / mutasi

1. Go to this page and download the library: Download lugasdev/mutasi library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lugasdev / mutasi example snippets


php artisan vendor:publish --provider="Lugasdev\Mutasi\MutasiServiceProvider"

php artisan migrate

example : yourdomain.com/BCA

Route::get('/{case}', function ($case) {
    return Mutasi::cekMutasi($case); //$case to store bank name such as 'BCA 'Mandiri', 'BNI', 'BRI'
});

use Illuminate\Http\Request;

Route::get('get/{case}', ['as' => '/get/{case}', 'uses' => function (Request $request, $case) {
    $auth = $request->all();

    return Mutasi::cekMutasiAuth($auth, $case);
}]);