- PHP >= 8.1
- A cup of coffee ☕
composer require azis-alvriyanto/shopee-express-waybill
use AzisAlvriyanto\ShopeeExpressWaybill\ShopeeExpressWaybill;
// Initialize
$shopeeExpressWaybill = new ShopeeExpressWaybill();
// Example: Check shipping number
$response = $shopeeExpressWaybill->check('SPXID133333333337');
// Output response
if ($response->success) {
echo "Success: " . $response->message;
print_r($response->data);
} else {
echo "Error: " . $response->message;
}
To run the tests, use PHPUnit. Ensure PHPUnit is installed as a development dependency:
composer install --dev
composer test
Server API ready to use publicly in https://shopee-express-waybill.membasuh.com or you can get postman collection here.
Contributions are welcome! Please fork the repository and submit a pull request.
The MIT License (MIT). Please see License File for more information.