Skip to content

Latest commit

 

History

History
70 lines (49 loc) · 2.36 KB

README.md

File metadata and controls

70 lines (49 loc) · 2.36 KB

Shopee Express Waybill

Donate
Latest Stable Version PHP from Stable Version Static Analysis
Total Downloads License

Requirements

Installation

composer require azis-alvriyanto/shopee-express-waybill

Usage

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;
}

Testing

To run the tests, use PHPUnit. Ensure PHPUnit is installed as a development dependency:

composer install --dev
composer test

API Documentation

Server API ready to use publicly in https://shopee-express-waybill.membasuh.com or you can get postman collection here.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

Credits

License

The MIT License (MIT). Please see License File for more information.