PHPackages                             vdhruv/shiprocket-php-api - 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. vdhruv/shiprocket-php-api

ActiveSdk[API Development](/categories/api)

vdhruv/shiprocket-php-api
=========================

PHP SDK for Shiprocket

1.0.0(8y ago)074PHPPHP &gt;=5.6.0

Since Apr 3Pushed 6y agoCompare

[ Source](https://github.com/vdhruv/shiprocket-php-api)[ Packagist](https://packagist.org/packages/vdhruv/shiprocket-php-api)[ Docs](http://github.com/fossbrew/shiprocket-php)[ RSS](/packages/vdhruv-shiprocket-php-api/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Shiprocket SDK for PHP (WIP)
============================

[](#shiprocket-sdk-for-php-wip)

[![Build Status](https://camo.githubusercontent.com/7294d93a744030656b21b2ce5cfa011fcd582a4cd9b21a2ada15d645bdfdd1cf/68747470733a2f2f7472617669732d63692e6f72672f72616a617468616e732f73686970726f636b65742d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rajathans/shiprocket-php)

This project enables PHP developers to use the [Shiprocket API](http://devdockui.shiprocket.in) in their PHP code, and build software using services such as Shipments, Inventory management, Shipping orders, etc. You can get started by installing the SDK via Composer and by following the Basic Usage Guide given below.

This is a personal project that has been developed by me, [Rajat Hans](http://rajathans.github.io). I decided to create this project to make up for the lack of an official PHP SDK for Shiprocket. As of now, it is in no way endorsed, sponsored or maintained by Shiprocket.

Features
--------

[](#features)

- Compatible with PHP 5.5 or greater.
- Easy to install with [Composer](http://getcomposer.org/).
- Orders : Create orders, Get all orders data, Get single order data from Shiprocket.

Features
--------

[](#features-1)

- Inventory management using Products and Listings.
- And much more...

Resources
---------

[](#resources)

- [Official documentation](http://devdockui.shiprocket.in/) - Getting started guide and in-depth information.
- Examples - In development.
- [Issues](https://www.github.com/rajathans/shiprocket-php/issues/) - Raise your concerns for support with the SDK.
- [@rajathans](https://twitter.com/rajathans9) - Follow on Twitter for announcements of releases, important changes and so on.

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6
- Composer

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

[](#installation)

The SDK can be installed with [Composer](http://getcomposer.org/).

1. Install Composer.

    ```
    curl -sS https://getcomposer.org/installer | php

    ```
2. Install the SDK.

    ```
    php composer.phar install rajathans/shiprocket-php

    ```
3. Require Composer's autoloader by adding the following line to your code.

    ```
    require 'vendor/autoload.php';
    ```

Example
-------

[](#example)

WIP

Project Goals
-------------

[](#project-goals)

- Be well maintained.
- Be well documented.
- Be well tested.
- Be well supported with working examples

License
-------

[](#license)

MIT.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

2967d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d01bf50de948a952142e1509d0e94723656ac03b3a8c4cd5e0380b8a0663ba21?d=identicon)[vdhruv](/maintainers/vdhruv)

---

Top Contributors

[![rajathans](https://avatars.githubusercontent.com/u/4061556?v=4)](https://github.com/rajathans "rajathans (25 commits)")[![vdhruv](https://avatars.githubusercontent.com/u/35102375?v=4)](https://github.com/vdhruv "vdhruv (3 commits)")[![shubham-shiprocket](https://avatars.githubusercontent.com/u/78805007?v=4)](https://github.com/shubham-shiprocket "shubham-shiprocket (1 commits)")

---

Tags

apiphpshiprocketshippingshipmentshiprocketkartrocket

### Embed Badge

![Health badge](/badges/vdhruv-shiprocket-php-api/health.svg)

```
[![Health](https://phpackages.com/badges/vdhruv-shiprocket-php-api/health.svg)](https://phpackages.com/packages/vdhruv-shiprocket-php-api)
```

###  Alternatives

[easypost/easypost-php

EasyPost Shipping API Client Library for PHP

1753.1M5](/packages/easypost-easypost-php)[gabrielbull/ups-api

PHP UPS API

4642.4M10](/packages/gabrielbull-ups-api)[gavroche/ups-api

PHP UPS API

45613.2k](/packages/gavroche-ups-api)[shipengine/shipengine

PHP library for the ShipEngine API.

172.4k](/packages/shipengine-shipengine)[michaelb/ship-station

A php wrapper for ship station's api

101.9k](/packages/michaelb-ship-station)

PHPackages © 2026

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