1. Go to this page and download the library: Download blaaiz/blaaiz-laravel-sdk 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/ */
blaaiz / blaaiz-laravel-sdk example snippets
use Blaaiz\LaravelSdk\Facades\Blaaiz;
$isConnected = Blaaiz::testConnection();
$currencies = Blaaiz::currencies()->list();
use Blaaiz\LaravelSdk\Facades\Blaaiz;
$isConnected = Blaaiz::testConnection();
$wallets = Blaaiz::wallets()->list();
use Blaaiz\LaravelSdk\Blaaiz;
class RatesController
{
public function __invoke(Blaaiz $blaaiz)
{
return response()->json($blaaiz->rates()->list());
}
}
$customers = Blaaiz::customers()->list();
// With filters. Supported keys: email, id_number, registration_number,
// verification_status, type. Set `paginate => true` to receive a paginated
// response that