PHPackages                             md-adil/shyplite - 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. md-adil/shyplite

ActiveLibrary[API Development](/categories/api)

md-adil/shyplite
================

SDK for Shyplite shipment service

53422[2 issues](https://github.com/md-adil/shyplite/issues)PHP

Since Nov 5Pushed 7y ago3 watchersCompare

[ Source](https://github.com/md-adil/shyplite)[ Packagist](https://packagist.org/packages/md-adil/shyplite)[ RSS](/packages/md-adil-shyplite/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Shyplite PHP And Laravel SDK
============================

[](#shyplite-php-and-laravel-sdk)

[shyplite.com](http://shyplite.com/)
------------------------------------

[](#shyplitecom)

Installing
----------

[](#installing)

Composer is the best friend to install any php libraries / dependancies with their dependancies. If you haven't already installed then follow the link [Composer](https://getcomposer.org/)

Then run following command in your terminal/command prompt where your application is installed.

```
composer require md-adil/shyplite dev-master

```

Login
-----

[](#login)

Before making any request you need to set token first.

Getting token

```
use Adil\Shyplite\Shyplite;

$congis = [
    'username'=> '',
    'password' => '',
    'app_id' => '', // Your app's ID
    'seller_id' => '',   // Your seller ID
    'key' => ''
];

$shyplite = new Shyplite($configs); // Constructor takes config array as argument
$response = $shyplite->login();
$shyplite->setToken($response->userToken);
```

Order
-----

[](#order)

To create order

```
$orders = $shyplite->order()->add([/*order array provided in official doc*/])
    ->add([/*Add more order not more than 25*/])
    ->create() // finally create order and return array of Order model which hold the values you provided with response id and success status
    // or

foreach($orders as $order) {
    echo $order->id; // response success id
    echo $order->getError(); // if error on particular order
    echo $order->hasError(); // true or false
}
```

To cancel order

```
$shyplite->order()->cancel([/* array of order id */])
```

Shipment
--------

[](#shipment)

Getting slip

```
$slip = $shyplite->shipment()->getSlip(/* order id */);

echo $slip->name; // name of slip

echo $slip->download(/* download location */);
```

Getting manifest

```
$menifest = $shyplite->shipment()->menifest(/* menifest id provided by getSlip function */);
echo $menifest->name; // name of menifest
echo $menifest->path // path to download menifest
$menifest->download(/*path to download*/);
```

Service
-------

[](#service)

To check service availability.

```
$available = $shyplite->service()->availability($sourcePincode, $destinationPincode);

print_r($avaialable);
```

Configuration
-------------

[](#configuration)

Required:

```
$config = [
    'username'=> '',
    'password' => '',
    'app_id' => '', // Your app's ID
    'seller_id' => '',   // Your seller ID
    'key' => ''
];
```

Default:

```
protected $configs = [
    'verified_request' => false,
    'base_uri' => 'https://api.shyplite.com',
    'order_uri' => 'order',
    'get_slip_uri' => 'getSlip',
    'availablity_uri' => 'getserviceability',
    'track_uri' => 'track',
    'manifest_uri' => 'getManifestPDF',
    'ordercancel_uri' => 'ordercancel'
];
```

You can override default configs by providing the key your own config like:

```
$configs = [
    /* our configs */,
    'verified_request' => true, // Now you need to add certificate to make verified reques.
    'order_uri' => 'orders', // If later on shyplite decide to change their uri.
]
```

Laravel Integration
-------------------

[](#laravel-integration)

Let the laravel know about your plugin.

`configs/app.php`

```
    return [

        // providers section.

        'providers' => [
            // ...,
            Adil\Shyplite\Laravel\ShypliteServiceProvider::class
        ],

        'aliases' => [

            // ...
            'Shyplite' => Adil\Shyplite\Laravel\Facade\Shyplite::class

        ]

    ];

    // use it in your app

Shyplite::setToken($yourtoken);
Shyplite::order()->add()->create();
```

Now add shyplite specific settings in your configs directory.

`configs/shyplite.php`

```
return [
    'username'=> '',
    'password' => '',
    'app_id' => '', // Your app's ID
    'seller_id' => '',   // Your seller ID
    'key' => ''
];
```

This is unofficial shyplite sdk for php / laravel.

I appreciate your feedback. If you find any issues please don't forget to letme know either mail me or create github issue. if you like my efforts please dont forget to give star.

Thank you :)
============

[](#thank-you-)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

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://www.gravatar.com/avatar/84579e3068303e0f739e24fce17047e63d3d12d11681c04f989903cc06213219?d=identicon)[adil](/maintainers/adil)

---

Top Contributors

[![phparchana](https://avatars.githubusercontent.com/u/13336193?v=4)](https://github.com/phparchana "phparchana (5 commits)")

---

Tags

laravelphpshippingshyplite

### Embed Badge

![Health badge](/badges/md-adil-shyplite/health.svg)

```
[![Health](https://phpackages.com/badges/md-adil-shyplite/health.svg)](https://phpackages.com/packages/md-adil-shyplite)
```

###  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)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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