Skip to content

rajathans/shiprocket-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shiprocket SDK for PHP (WIP)

Build Status

This project enables PHP developers to use the Shiprocket API 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. 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

  • Compatible with PHP 5.5 or greater.
  • Easy to install with Composer.
  • Orders : Create orders, Get all orders data, Get single order data from Shiprocket.

Features

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

Resources

  • Official documentation - Getting started guide and in-depth information.
  • Examples - In development.
  • Issues - Raise your concerns for support with the SDK.
  • @rajathans - Follow on Twitter for announcements of releases, important changes and so on.

Requirements

  • PHP >= 5.6
  • Composer

Installation

The SDK can be installed with Composer.

  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

WIP

Project Goals

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

License

MIT.