PHPackages                             shippodeveloper/shippo-sdk-php-client - 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. shippodeveloper/shippo-sdk-php-client

ActiveLibrary[API Development](/categories/api)

shippodeveloper/shippo-sdk-php-client
=====================================

Shippo APIs Client Library for PHP

1.0.1(7y ago)19133Apache-2.0PHPPHP ^7.0

Since Nov 8Pushed 7y agoCompare

[ Source](https://github.com/shippodeveloper/shippo-sdk-php-client)[ Packagist](https://packagist.org/packages/shippodeveloper/shippo-sdk-php-client)[ RSS](/packages/shippodeveloper-shippo-sdk-php-client/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (3)Versions (4)Used By (0)

[![Build Status](https://camo.githubusercontent.com/f3389ef8f9a14b6876f0bb8e6110bb1377737a6fc67b6ca4cea3c1b6c6f4d5e0/68747470733a2f2f7472617669732d63692e6f72672f73686970706f646576656c6f7065722f73686970706f2d73646b2d7068702d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/shippodeveloper/shippo-sdk-php-client)[![Latest Stable Version](https://camo.githubusercontent.com/c77ed83fd1e42944c47061e21f2aa6271c3febc5d97da48b59e6e3abfa037a82/68747470733a2f2f706f7365722e707567782e6f72672f73686970706f646576656c6f7065722f73686970706f2d73646b2d7068702d636c69656e742f762f737461626c65)](https://packagist.org/packages/shippodeveloper/shippo-sdk-php-client)[![Total Downloads](https://camo.githubusercontent.com/2776dc9d7b200adfa06c9360b93eeef81b39b75bdf4d794ca687393fb9b7580a/68747470733a2f2f706f7365722e707567782e6f72672f73686970706f646576656c6f7065722f73686970706f2d73646b2d7068702d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/shippodeveloper/shippo-sdk-php-client)[![Latest Unstable Version](https://camo.githubusercontent.com/3fb390d380695caefbe2269a9057f155a78ce35e20c6dad0c63fff111c450dbf/68747470733a2f2f706f7365722e707567782e6f72672f73686970706f646576656c6f7065722f73686970706f2d73646b2d7068702d636c69656e742f762f756e737461626c65)](https://packagist.org/packages/shippodeveloper/shippo-sdk-php-client)[![License](https://camo.githubusercontent.com/9f77d2575b229a9daa7cc800da4dcfa8f8590166f85a6733c3811091b0576c9c/68747470733a2f2f706f7365722e707567782e6f72672f73686970706f646576656c6f7065722f73686970706f2d73646b2d7068702d636c69656e742f6c6963656e7365)](https://packagist.org/packages/shippodeveloper/shippo-sdk-php-client)

SHIPPO APIs Client Library for PHP
==================================

[](#shippo-apis-client-library-for-php)

The Shippo API Client Library for PHP enables you working with Shippo's Open API. These library are officially supported by Shippo.

**Open API**

Is Shippo's public API that provides developers or partner with programmatic access to Shippo's system. More detail [here](https://open-api.shippo.vn/#k%E1%BA%BFt-n%E1%BB%91i-v%E1%BB%9Bi-shippo-s%E1%BA%BD-mang-%C4%91%E1%BA%BFn-nh%E1%BB%AFng-kh%E1%BA%A3-n%C4%83ng-g%C3%AC).

APIs documentation
------------------

[](#apis-documentation)

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

[](#installation)

### Requirements

[](#requirements)

- PHP 7+

### Composer

[](#composer)

To install run `composer require shippodeveloper/shippo-sdk-php-client`

\##Usage

### Configuration

[](#configuration)

Configuration is done through an instance of ShippoSDK\\Client with ShippoSDK\\Config.

```
$config = new \ShippoSDK\Config([
    'access_token' => 'your access token',
    'base_uri' => 'https://apix.shippo.vn', // or https://sandbox-apix.shippo.vn for sandbox mode
]);
$client = new \ShippoSDK\Client($config);
```

### API Endpoints

[](#api-endpoints)

Each APIs was implement as API Endpoint class.

This example working with Delivery Order

```
$deliveryOrderEP = new \ShippoSDK\Endpoints\DeliveryOrderEndpoint($client);
$param = [
    'pickupAddressId' => 100022031,
    'services' => [
        'insurance' => [
            'amount' => 1000000, //bảo hiểm với số tiền 1 triệu đồng
        ]
    ],
    'goods' => [],
    'chargeType' => 'SENDER',
    'deliveryPackage' => 'STC',
    'merchantOrderCode' => 'MOC_0001',
    'merchantPrivateNote' => 'Freddie Mercury is gay',
    'code' => '380000',
    'deliveryNote' => '',
    'receiverPhone' => '0380987654',
    'receiverName' => 'Brian May',
    'deliverDetailAddress' => 'Fist Aid 1985',
    'deliverLocationId' => 18, //Ba Đình
    'pickupNote' => 'Đến gọi cho Mary Austin'
];
$order = $deliveryOrderEP->create($param);
```

Please see the test scripts in the `tests` directory to understand how it works

To be contributor
-----------------

[](#to-be-contributor)

We embrace developers to contribute to Shippo's developer libraries. In addition to PHP, developers can develop integrated libraries with Shippo's Open API for NodeJS, Java, Ruby, and Python.

Shippo grateful for your help!

Copyright and license
---------------------

[](#copyright-and-license)

Copyright 2018-present Shippo

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may botain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.8% 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 ~4 days

Total

3

Last Release

2732d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9077587e5151a2cb9eaadbb01be5cc95c7baa8932d4668cbb3d196046ec6dc15?d=identicon)[shippodeveloper](/maintainers/shippodeveloper)

---

Top Contributors

[![tronghieu](https://avatars.githubusercontent.com/u/32147?v=4)](https://github.com/tronghieu "tronghieu (30 commits)")[![shippodeveloper](https://avatars.githubusercontent.com/u/39092481?v=4)](https://github.com/shippodeveloper "shippodeveloper (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/shippodeveloper-shippo-sdk-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/shippodeveloper-shippo-sdk-php-client/health.svg)](https://phpackages.com/packages/shippodeveloper-shippo-sdk-php-client)
```

###  Alternatives

[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)

PHPackages © 2026

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