1. Go to this page and download the library: Download bewezy/melhorenvio 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/ */
bewezy / melhorenvio example snippets
use MelhorEnvio\Shipment;
use MelhorEnvio\Resources\Shipment\Package;
use MelhorEnvio\Enums\Service;
use MelhorEnvio\Enums\Environment;
// Create Shipment Instance
$shipment = new Shipment('your-token', Environment::PRODUCTION);