PHPackages                             codeboxr/redx-courier - 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. codeboxr/redx-courier

ActiveLibrary[API Development](/categories/api)

codeboxr/redx-courier
=====================

Bangladeshi Redx courier service api package

v1.0.2(1y ago)86129MITPHPPHP ^7.2|^7.3|^8.0|^8.1|^8.2

Since Aug 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/codeboxrcodehub/redx-courier)[ Packagist](https://packagist.org/packages/codeboxr/redx-courier)[ RSS](/packages/codeboxr-redx-courier/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

 [![](https://camo.githubusercontent.com/6a91a0f6c55214d3633e19380785f28d0f8b169f092df908744ebc21267de931/68747470733a2f2f726564782e636f6d2e62642f696d616765732f6e65772d726564782d6c6f676f2e737667)](https://camo.githubusercontent.com/6a91a0f6c55214d3633e19380785f28d0f8b169f092df908744ebc21267de931/68747470733a2f2f726564782e636f6d2e62642f696d616765732f6e65772d726564782d6c6f676f2e737667)

Redx Courier Banagladesh
========================

[](#redx-courier-banagladesh)

[![](https://camo.githubusercontent.com/5ab9a768a10ad468b38af28491ac4644d26599ebabec24f3af7415723673c39a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6465626f78722f726564782d636f7572696572)](https://camo.githubusercontent.com/5ab9a768a10ad468b38af28491ac4644d26599ebabec24f3af7415723673c39a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6465626f78722f726564782d636f7572696572)[![](https://camo.githubusercontent.com/a6b0c81b7cb7a0165e30ef3a2c6c9fd67be10d196bd8af4d25258e8564682806/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f636f6465626f78722f726564782d636f7572696572)](https://camo.githubusercontent.com/a6b0c81b7cb7a0165e30ef3a2c6c9fd67be10d196bd8af4d25258e8564682806/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f636f6465626f78722f726564782d636f7572696572)

This is a Laravel/PHP package for [Redx](https://redx.com.bd/) BD Courier System. This package can be used in laravel or without laravel/php projects. You can use this package for headless/rest implementation as well as blade or regular mode development. We created this package while working for a project and thought to made it release for all so that it helps. This package is available as regular php [composer package](https://packagist.org/packages/codeboxr/redx-courier).

Features
--------

[](#features)

1. [Fetch Redx delivery area list](https://github.com/codeboxrcodehub/redx-courier#1-get-redx-delivery-area-list)
2. [Create new store](https://github.com/codeboxrcodehub/redx-courier#2-create-new-store)
3. [Store list](https://github.com/codeboxrcodehub/redx-courier#3-get-store-list)
4. [Store details](https://github.com/codeboxrcodehub/redx-courier#4-store-details)
5. [Create new parcel](https://github.com/codeboxrcodehub/redx-courier#5-create-new-parcel)
6. [Parcel details](https://github.com/codeboxrcodehub/redx-courier#6-get-order-details)
7. [Parcel tracking](https://github.com/codeboxrcodehub/redx-courier#7-order-tracking)

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

[](#requirements)

- PHP &gt;=7.2
- Laravel &gt;= 6

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

[](#installation)

```
composer require codeboxr/redx-courier
```

### vendor publish (config)

[](#vendor-publish-config)

```
php artisan vendor:publish --provider="Codeboxr\RedxCourier\RedxCourierServiceProvider"
```

After publish config file setup your credential. you can see this in your config directory redx.php file

```
 "sandbox"      => env("REDX_SANDBOX", false),
 "access_token" => env("REDX_ACCESS_TOKEN", ""),

```

### Set .env configuration

[](#set-env-configuration)

```
REDX_SANDBOX=true // for production mode use false
REDX_ACCESS_TOKEN=""

```

Usage
-----

[](#usage)

### 1. Get redx delivery area list

[](#1-get-redx-delivery-area-list)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::area()->list();

```

### 2. Create new store

[](#2-create-new-store)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::store()
                        ->create([
                           "name"    => "", //store name
                           "phone"   => "", //store contact person
                           "area_id" => "",
                           "address" => "",
                        ]);

```

### 3. Get Store List

[](#3-get-store-list)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::store()->list();

```

### 4. Store Details

[](#4-store-details)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::store()->storeDetails($storeId);

```

### 5. Create new parcel

[](#5-create-new-parcel)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::order()
                        ->create([
                            "customer_name"          => "",
                            "customer_phone"         => "",
                            "delivery_area"          => "", // delivery area name
                            "delivery_area_id"       => "", // area id
                            "customer_address"       => "",
                            "merchant_invoice_id"    => "",
                            "cash_collection_amount" => "",
                            "parcel_weight"          => "", //parcel weight in gram
                            "instruction"            => "",
                            "value"                  => "", //compensation amount
                            "pickup_store_id"        => "", // store id
                            "parcel_details_json"    => ""
                        ]);

```

### 6. Get Order Details

[](#6-get-order-details)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::order()->orderDetails($trackingId); // After successfully create order they given a tracking_id

```

### 7. Order tracking

[](#7-order-tracking)

```
use Codeboxr\RedxCourier\Facade\RedxCourier

return RedxCourier::order()->tracking($trackingId); // After successfully create order they given a tracking_id

```

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

[](#contributing)

Contributions to the Redx package are welcome. Please note the following guidelines before submitting your pull request.

- Follow [PSR-4](http://www.php-fig.org/psr/psr-4/) coding standards.
- Read Redx API documentations first

License
-------

[](#license)

Redx package is licensed under the [MIT License](http://opensource.org/licenses/MIT).

Copyright 2022 [Codeboxr](https://codeboxr.com)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

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

Every ~318 days

Total

3

Last Release

721d ago

PHP version history (2 changes)v1.0.0PHP ^7.2|^7.3|^8.0|^8.1

v1.0.2PHP ^7.2|^7.3|^8.0|^8.1|^8.2

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/81623abb96d5e8d150207d166effa3d73f4853bb9006cb9df7bef67ff65853bf?d=identicon)[codeboxr](/maintainers/codeboxr)

---

Top Contributors

[![dipudey](https://avatars.githubusercontent.com/u/50619501?v=4)](https://github.com/dipudey "dipudey (5 commits)")[![manchumahara](https://avatars.githubusercontent.com/u/204452?v=4)](https://github.com/manchumahara "manchumahara (3 commits)")[![SMTamim](https://avatars.githubusercontent.com/u/30808870?v=4)](https://github.com/SMTamim "SMTamim (1 commits)")

---

Tags

apicouriercourier-servicelaravel-packageredxredx-apiredx-courier-laravelredx-merchant

### Embed Badge

![Health badge](/badges/codeboxr-redx-courier/health.svg)

```
[![Health](https://phpackages.com/badges/codeboxr-redx-courier/health.svg)](https://phpackages.com/packages/codeboxr-redx-courier)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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