PHPackages                             nguyendachuy/laravel-delhivery-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. nguyendachuy/laravel-delhivery-api

ActiveLibrary[API Development](/categories/api)

nguyendachuy/laravel-delhivery-api
==================================

Delhivery API (V1) Laravel SDK. Integration of Delhivery API in your laravel application is easy, This package enables you to utilize most of your Delhivery functions.

0.0.1(3y ago)11.0k1PHPPHP &gt;=7.0

Since May 10Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nguyendachuy/laravel-delhivery-api)[ Packagist](https://packagist.org/packages/nguyendachuy/laravel-delhivery-api)[ Docs](https://github.com/nguyendachuy/laravel-delhivery-api)[ RSS](/packages/nguyendachuy-laravel-delhivery-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Delhivery API (V1) Laravel SDK
==============================

[](#delhivery-api-v1-laravel-sdk)

Laravel SDK (module) for [Delhivery API Version 1](https://delhivery-express-api-doc.readme.io/reference/introduction-1). The integration of Delhivery API in your laravel application is made easy.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#laravel-sdk-module-for-delhivery-api-version-1-the-integration-of-delhivery-api-in-your-laravel-application-is-made-easy)

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

[](#installation)

You can install the package via composer:

```
composer require nguyendachuy/laravel-delhivery-api
```

You can publish config file with:

```
php artisan vendor:publish --provider="NguyenHuy\Delhivery\DelhiveryServiceProvider" --tag="config"
```

This is the contents of the published config file:
--------------------------------------------------

[](#this-is-the-contents-of-the-published-config-file)

```
return [
    /*
    |--------------------------------------------------------------------------
    | Delhivery Mode
    |--------------------------------------------------------------------------
    |
    | Here you can set the mode for delhivery. (staging or live)
    | default is staging
    */

    'mode' => env('DELHIVERY_MODE', 'staging'),

    /*
    |--------------------------------------------------------------------------
    | Delhivery Token
    |--------------------------------------------------------------------------
    |
    | Here you can set the token delhivery.
    |
    */

    'token' => env('DELHIVERY_TOKEN', null),

    /*
    |--------------------------------------------------------------------------
    | Default output response type
    |--------------------------------------------------------------------------
    |
    | Here you may specify which of the output response you need.
    |
    | Supported: "collection" , "object", "array"
    |
    */

    'responseType' => env('DELHIVERY_RESPONSE_TYPE', 'collection'),
];
```

Pincode Serviceability
----------------------

[](#pincode-serviceability)

```
    $response =  Delhivery::pincode()->getLocations([
        'filter_codes' => 400064
    ]);
```

WayBill Management
------------------

[](#waybill-management)

### Bulk WayBill

[](#bulk-waybill)

```
    $response =  Delhivery::waybill()->bulk([
        'count' => 5
    ]);
```

### Fetch WayBill(generate singel waybill)

[](#fetch-waybillgenerate-singel-waybill)

```
    $response =  Delhivery::waybill()->fetch([
        'client_name' => ''
    ]);
```

Orders
------

[](#orders)

#### Create order

[](#create-order)

```
$orderDetails = [
    // refer above url for required parameters
    'shipments' => [...],
    'pickup_location' => [...],
];
    $response =  Delhivery::order()->create($orderDetails);
```

### Update order

[](#update-order)

```
$orderDetails = [
   // refer above url for required parameters
   'tax_value' => [12345,123456 ]
   'shipment_width' => 10,
   'product_details' => '',
   'add' => ''
];
$response =  Delhivery::order($token)->edit($orderDetails);
```

#### Cancel an order

[](#cancel-an-order)

```
$waybill = 'waybill no';
$response =  Delhivery::order()->cancel(['waybill' => $waybill]);
```

#### Tracking order

[](#tracking-order)

```
$waybill = 'waybill no';
$response =  Delhivery::order()->track(['waybill' => $waybill]);
```

Invoice Management
------------------

[](#invoice-management)

```
$response =  Delhivery::invoice()->getLocations([]);
```

Packing Slip Management
-----------------------

[](#packing-slip-management)

```
$response =  Delhivery::packingSlip()->print($waybill);
```

Pickup Scheduling Management
----------------------------

[](#pickup-scheduling-management)

```
$response =  Delhivery::pickup()->request([]);
```

Warehouse Management
--------------------

[](#warehouse-management)

### Client Warehouse Creation

[](#client-warehouse-creation)

```
$response =  Delhivery::warehouse()->create([]);
```

### Client Warehouse Edit

[](#client-warehouse-edit)

```
$response =  Delhivery::warehouse()->edit([]);
```

NDR
---

[](#ndr)

### NDR API

[](#ndr-api)

```
$response =  Delhivery::ndr()->update([]);
```

### Get UPL id status

[](#get-upl-id-status)

```
$response =  Delhivery::ndr()->get($upl);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [NguyenDacHuy](https://github.com/nguyendachuy)
- [All Contributors](../../contributors)

Please feel free to contact me if you find any bug or create an issue for that!.
--------------------------------------------------------------------------------

[](#please-feel-free-to-contact-me-if-you-find-any-bug-or-create-an-issue-for-that)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity29

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1151d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51a37c190ab4fecfeb65c235b1922b254b42e3f063bd1c5c4d48a76833dad5ba?d=identicon)[huy.cit](/maintainers/huy.cit)

---

Top Contributors

[![nguyendachuy](https://avatars.githubusercontent.com/u/15666602?v=4)](https://github.com/nguyendachuy "nguyendachuy (2 commits)")

---

Tags

laravelDelhivery APILaravel Delhivery APIDelhivery SDK Module

### Embed Badge

![Health badge](/badges/nguyendachuy-laravel-delhivery-api/health.svg)

```
[![Health](https://phpackages.com/badges/nguyendachuy-laravel-delhivery-api/health.svg)](https://phpackages.com/packages/nguyendachuy-laravel-delhivery-api)
```

###  Alternatives

[rakibdevs/openweather-laravel-api

Laravel package to connect https://openweathermap.org/ to get customized weather data for any location on the globe immediately

7652.6k](/packages/rakibdevs-openweather-laravel-api)

PHPackages © 2026

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