PHPackages                             apih/easyparcel - 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. apih/easyparcel

ActiveLibrary[API Development](/categories/api)

apih/easyparcel
===============

A PHP wrapper for EasyParcel Marketplace API

3471PHP

Since Mar 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/apih/easyparcel)[ Packagist](https://packagist.org/packages/apih/easyparcel)[ RSS](/packages/apih-easyparcel/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

EasyParcel
==========

[](#easyparcel)

A PHP wrapper for EasyParcel API. EasyParcel Marketplace API Documentation v2.0.0 will be needed for detailed reference on what to pass into the methods.

Dependencies
------------

[](#dependencies)

1. PHP 5.4.0+ (short array syntax)
2. cURL

Usage
-----

[](#usage)

1. Incude the file in the code
2. Instantiate EasyParcel client, and pass API and authentication keys into the constructor
3. Call useDemo() method if you want to use demo account
4. Call other provided methods as needed

Example
-------

[](#example)

### Code

[](#code)

The code below is for checking shipment rates.

```

```

### Output

[](#output)

Sample output based on above code.

```
{
  "api_status":"Success",
  "error_code":"0",
  "error_remark":"",
  "result":[
    {
      "status":"Success",
      "remarks":"",
      "rates":[
        {
          "service_id":"EP-CS0I",
          "service_name":"Next Day Delivery Service",
          "service_type":"document",
          "courier_id":"EP-CR0A",
          "courier_name":"Poslaju",
          "courier_logo":"http:\/\/cp.easyparcel.my\/v1\/include\/theme_1\/source\/img\/logo\/POS0006_POS_Laju_LOGO_ID_CMYK_140514.jpg",
          "scheduled_start_date":"2017-06-23 Friday",
          "pickup_date":"2017-06-22",
          "delivery":"Estimated 2 working day(s)",
          "price":"7.80",
          "dropoff_point":[

          ]
        },
        {
          "service_id":"EP-CS0F",
          "service_name":"Next Day Delivery Service",
          "service_type":"parcel",
          "courier_id":"EP-CR0A",
          "courier_name":"Poslaju",
          "courier_logo":"http:\/\/cp.easyparcel.my\/v1\/include\/theme_1\/source\/img\/logo\/POS0006_POS_Laju_LOGO_ID_CMYK_140514.jpg",
          "scheduled_start_date":"2017-06-23 Friday",
          "pickup_date":"2017-06-22",
          "delivery":"Estimated 2 working day(s)",
          "price":"7.80",
          "dropoff_point":[

          ]
        },
        {
          "service_id":"EP-CS0N",
          "service_name":"Next Day Delivery Service",
          "service_type":"document",
          "courier_id":"EP-CR05",
          "courier_name":"Skynet",
          "courier_logo":"http:\/\/cp.easyparcel.my\/v1\/include\/theme_1\/source\/img\/logo\/SKYNET-EXPRESS.png",
          "scheduled_start_date":"2017-06-23 Friday",
          "pickup_date":"2017-06-22",
          "delivery":"Estimated 1 working day(s)",
          "price":"7.80",
          "dropoff_point":[
            {
              "point_id":"SKYNET_AKH",
              "point_name":"SKYNET AYER KEROH",
              "point_contact":"62316898",
              "point_addr1":"SKYNET WORLDWIDE (MELAKA) SDN BHD",
              "point_addr2":"653-O, Jalan Delima 3,",
              "point_addr3":"Taman Bukit Melaka",
              "point_addr4":"",
              "point_postcode":"75450",
              "point_city":"Bukit Beruang",
              "point_state":"mlk",
              "price":0
            }
          ]
        },
        {
          "service_id":"EP-CS0W",
          "service_name":"Next Day Delivery Service",
          "service_type":"parcel",
          "courier_id":"EP-CR05",
          "courier_name":"Skynet",
          "courier_logo":"http:\/\/cp.easyparcel.my\/v1\/include\/theme_1\/source\/img\/logo\/SKYNET-EXPRESS.png",
          "scheduled_start_date":"2017-06-23 Friday",
          "pickup_date":"2017-06-22",
          "delivery":"Estimated 1 working day(s)",
          "price":"7.80",
          "dropoff_point":[
            {
              "point_id":"SKYNET_AKH",
              "point_name":"SKYNET AYER KEROH",
              "point_contact":"62316898",
              "point_addr1":"SKYNET WORLDWIDE (MELAKA) SDN BHD",
              "point_addr2":"653-O, Jalan Delima 3,",
              "point_addr3":"Taman Bukit Melaka",
              "point_addr4":"",
              "point_postcode":"75450",
              "point_city":"Bukit Beruang",
              "point_state":"mlk",
              "price":0
            }
          ]
        },
        {
          "service_id":"EP-CS0E",
          "service_name":"Next Day Delivery Service",
          "service_type":"document",
          "courier_id":"EP-CR0M",
          "courier_name":"Nationwide",
          "courier_logo":"http:\/\/cp.easyparcel.my\/v1\/include\/theme_1\/source\/img\/logo\/Nationwide-Express-logo.jpg",
          "scheduled_start_date":"2017-06-23 Friday",
          "pickup_date":"2017-06-22",
          "delivery":"Estimated 1 working day(s)",
          "price":"7.80",
          "dropoff_point":[

          ]
        },
        {
          "service_id":"EP-CS04",
          "service_name":"Next Day Delivery Service",
          "service_type":"parcel",
          "courier_id":"EP-CR0M",
          "courier_name":"Nationwide",
          "courier_logo":"http:\/\/cp.easyparcel.my\/v1\/include\/theme_1\/source\/img\/logo\/Nationwide-Express-logo.jpg",
          "scheduled_start_date":"2017-06-23 Friday",
          "pickup_date":"2017-06-22",
          "delivery":"Estimated 1 working day(s)",
          "price":"7.80",
          "dropoff_point":[

          ]
        }
      ],
      "pgeon_point":{
        "Sender_point":[

        ],
        "Receiver_point":[

        ]
      }
    }
  ]
}
```

License
-------

[](#license)

This library may be freely distributed and is licensed under the MIT license.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/798269?v=4)[Mohd Hafizuddin M Marzuki](/maintainers/apih)[@apih](https://github.com/apih)

---

Top Contributors

[![apih](https://avatars.githubusercontent.com/u/798269?v=4)](https://github.com/apih "apih (12 commits)")

---

Tags

apieasyparcelphp

### Embed Badge

![Health badge](/badges/apih-easyparcel/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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