Repository navigation
Installation
Aslam edited this page Mar 31, 2021
·
1 revision
Laravel Bank BCA requires PHP 7.2-8.0. This particular version supports Laravel 6-8.
| Version | Laravel Version | Minimum PHP Version |
|---|---|---|
| 1.x.x | 6.x - 8.x | 7.2-8.0 |
Require this package with composer.
composer require aslam/laravel-bank-bcaConfiguration file you can publish it with the following Artisan command
php artisan vendor:publish --provider="Aslam\Bca\Providers\BriServiceProvider"The API method returns an instance of \Aslam\Bca\Response, which provides a variety of methods that may be used to inspect the response:
method()->body() : string;
method()->toJson() : array|mixed;
method()->collect() : // Illuminate\Support\Collection;
method()->status() : int;
method()->ok() : bool;
method()->successful() : bool;
method()->failed() : bool;
method()->serverError() : bool;
method()->clientError() : bool;
method()->header($header) : string;
method()->headers() : array;This package also exposes a helper function you can use if you are not a fan of Facades using
- Installation
- Services
- Get Token
- Business Banking
- Sakuku
- General Information
- Fire
- Virtual Account
- Notification
- Financing
- Fund Collection
- Flazz BCA