1. Go to this page and download the library: Download javaabu/customs-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
...
'customs' => [
'username' => env('CUSTOMS_USERNAME'), // Customs API username
'password' => env('CUSTOMS_PASSWORD'), // Customs API password
'url' => env('CUSTOMS_API_URL'), // optional, use only if you need to override the default,
// defaults to https://api.customs.gov.mv/api/
],
...