Download the PHP package abdulloh-id/measoft-delivery-php without Composer
On this page you can find all versions of the php package abdulloh-id/measoft-delivery-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download abdulloh-id/measoft-delivery-php
More information about abdulloh-id/measoft-delivery-php
Files in abdulloh-id/measoft-delivery-php
Package measoft-delivery-php
Short Description Modern, lightweight PHP SDK for the MeaSoft courier delivery platform API, with multi-country support.
License MIT
Informations about the package measoft-delivery-php
MeaSoft Delivery PHP SDK
MeaSoft Delivery PHP SDK is a lightweight, framework-agnostic client for the MeaSoft (CourierExe) logistics API.
While built to support any courier service running on the MeaSoft platform across 8+ countries, it includes out-of-the-box defaults for regional providers like EMU Express in Uzbekistan.
Requirements
- PHP 8.1+
- Extensions:
ext-curl,ext-pdo,ext-simplexml
Installation
Import database/schema.sql into your MySQL/MariaDB database if using the default PDO repository.
Configuration
Configure credentials once at application boot:
Quick Usage
Fetching & Syncing Data
Running Sync via CLI
Copy .env.example to .env in your root folder, then execute:
Or pass database flags directly:
Constraints
MeasoftClient::configure()stores credentials and the country code as static, process-wide state. It is intended for single-tenant, single-country usage: call it once at application boot and do not reconfigure it with different values mid-request.- Do not call
configure()with different credentials or country codes across tenants or requests within the same long-running PHP process (e.g. Swoole, RoadRunner, persistent queue workers). Doing so will overwrite the active configuration for any other code running in that process. - Multi-country support (
Countryconstants +countryCodeparam) covers syncing town/region data and setting a receiver's country oncreateOrder()— it does not add cross-border pricing logic tocalculateCost()/calculateCostPvz(), since sender and receiver are assumed to be in the same configured country.
Custom Storage Adapters
Implement AbdullohId\MeasoftDelivery\Contracts\MeasoftStorageInterface to build custom ORM persistence layers (e.g., Laravel Eloquent, Doctrine).
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of measoft-delivery-php with dependencies
ext-curl Version *
ext-simplexml Version *