1. Go to this page and download the library: Download javaabu/boli-api 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/ */
// config/services.php
...
'boli' => [
'username' => env('BOLI_USERNAME'), // Boli API username
'password' => env('BOLI_PASSWORD'), // Boli API password
'url' => env('BOLI_API_URL'), // optional, use only if you need to override the default,
// defaults to https://api-business.egov.mv/WebApi/api/
],
...