PHPackages                             xywl/soazposting - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. xywl/soazposting

ActiveLibrary[API Development](/categories/api)

xywl/soazposting
================

A sdk for soazposting api

v1.0(8y ago)026MITPHP

Since Mar 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ouranoshong/soazposting)[ Packagist](https://packagist.org/packages/xywl/soazposting)[ RSS](/packages/xywl-soazposting/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)DependenciesVersions (8)Used By (0)

soazposting
===========

[](#soazposting)

A sdk for soazposting api

Installation
------------

[](#installation)

```
composer install xywl/soazposting
```

Usage
-----

[](#usage)

- First you should read over [api document](https://www.ec-ship.hk/API-portal/Speedpost_API_Specification.pdf).

#### Demo code

[](#demo-code)

- Initialize a api client

```
use XYWL\SoazPosting\Client;

// set apiUsername, apiTokent, soazUsername, wsdlUri
$client = new Client("apiUsername", "apiTokent", "soazUsername", "wsdlUri");

//Or

$client =  new Client();
$client->setApiUsername('name')
    ->setApiToken('token')
    ->setSoazUsername('otherName')
    ->setWSDLUri('uri');
```

This sdk maintain two api request `Class`, `XYWL\SoazPosting\CreateSoazOrderRequest` for create order record , and `XYWL\SoazPosting\GetSoazAddressPackRequest` for get address pack file binary data.

Here go for code:

- Make a request for create order record, then will get a response which instance of `XYWL\SoazPosting\Base\createSoazOrderResponse`

```
use XYWL\SoazPosting\CreateSoazOrderRequest;

$request = new CreateSoazOrderRequest();

// set request parameters according to api document

$request->setXXX()

//now use client to handle request

$response = $client->handle($request);

//var_dump($response);
```

- Make a request for get address pack file, then will get a response which instance of `XYWL\SoazPosting\Base\getSoazAddressPackResponse`

```
use XYWL\SoazPosting\GetSoazAddressPackRequest;

$request = new GetSoazAddressPackRequest();

// set request parameters according to api document

$request->setXXX()

//now use client to handle request

$response = $client->handle($request);

//var_dump($response);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~21 days

Recently: every ~31 days

Total

7

Last Release

3275d ago

Major Versions

v0.2.4 → v1.02017-07-12

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5158627?v=4)[Hong](/maintainers/ouranoshong)[@ouranoshong](https://github.com/ouranoshong)

---

Top Contributors

[![hong675](https://avatars.githubusercontent.com/u/18436295?v=4)](https://github.com/hong675 "hong675 (4 commits)")[![ouranoshong](https://avatars.githubusercontent.com/u/5158627?v=4)](https://github.com/ouranoshong "ouranoshong (3 commits)")

### Embed Badge

![Health badge](/badges/xywl-soazposting/health.svg)

```
[![Health](https://phpackages.com/badges/xywl-soazposting/health.svg)](https://phpackages.com/packages/xywl-soazposting)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
