PHP code example of emiracle / kudaping
1. Go to this page and download the library: Download emiracle/kudaping 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/ */
emiracle / kudaping example snippets
namespace App\Http\Controllers;
use eMiracle\Kudaping\Kudaping;
class KudaController extends Controller
{
private Kudaping $kuda;
public function __construct()
{
$this->kuda = new Kudaping();
}
public function getBankList(): array
{
return $this->kuda->getBankList();
}
}
bash
php artisan vendor:publish --provider="eMiracle\Kudaping\KudapingServiceProvider"