{"id":24200224,"url":"https://github.com/codeboxrcodehub/redx-courier","last_synced_at":"2025-09-21T23:32:31.993Z","repository":{"id":58206021,"uuid":"523705346","full_name":"codeboxrcodehub/redx-courier","owner":"codeboxrcodehub","description":"Laravel package for redX courier","archived":false,"fork":false,"pushed_at":"2024-05-28T05:58:56.000Z","size":13,"stargazers_count":5,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-31T05:23:46.913Z","etag":null,"topics":["api","courier","courier-service","laravel-package","redx","redx-api","redx-courier-laravel","redx-merchant"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeboxrcodehub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-11T11:56:20.000Z","updated_at":"2024-05-28T05:55:39.000Z","dependencies_parsed_at":"2022-08-31T04:41:50.935Z","dependency_job_id":null,"html_url":"https://github.com/codeboxrcodehub/redx-courier","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fredx-courier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fredx-courier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fredx-courier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fredx-courier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeboxrcodehub","download_url":"https://codeload.github.com/codeboxrcodehub/redx-courier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233808444,"owners_count":18733585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","courier","courier-service","laravel-package","redx","redx-api","redx-courier-laravel","redx-merchant"],"created_at":"2025-01-13T20:41:38.751Z","updated_at":"2025-09-21T23:32:26.702Z","avatar_url":"https://github.com/codeboxrcodehub.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://redx.com.bd/images/new-redx-logo.svg\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eRedx Courier Banagladesh\u003c/h1\u003e\n\u003cp align=\"center\" \u003e\n\u003cimg src=\"https://img.shields.io/packagist/dt/codeboxr/redx-courier\"\u003e\n\u003cimg src=\"https://img.shields.io/packagist/stars/codeboxr/redx-courier\"\u003e\n\u003c/p\u003e\n\nThis 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).\n\n## Features\n\n1. [Fetch Redx delivery area list](https://github.com/codeboxrcodehub/redx-courier#1-get-redx-delivery-area-list)\n2. [Create new store](https://github.com/codeboxrcodehub/redx-courier#2-create-new-store)\n3. [Store list](https://github.com/codeboxrcodehub/redx-courier#3-get-store-list)\n4. [Store details](https://github.com/codeboxrcodehub/redx-courier#4-store-details)\n5. [Create new parcel](https://github.com/codeboxrcodehub/redx-courier#5-create-new-parcel)\n6. [Parcel details](https://github.com/codeboxrcodehub/redx-courier#6-get-order-details)\n7. [Parcel tracking](https://github.com/codeboxrcodehub/redx-courier#7-order-tracking)\n\n\n## Requirements\n\n- PHP \u003e=7.2\n- Laravel \u003e= 6\n\n## Installation\n\n```bash\ncomposer require codeboxr/redx-courier\n```\n\n### vendor publish (config)\n\n```bash\nphp artisan vendor:publish --provider=\"Codeboxr\\RedxCourier\\RedxCourierServiceProvider\"\n```\n\nAfter publish config file setup your credential. you can see this in your config directory redx.php file\n\n```\n \"sandbox\"      =\u003e env(\"REDX_SANDBOX\", false),\n \"access_token\" =\u003e env(\"REDX_ACCESS_TOKEN\", \"\"),\n```\n\n### Set .env configuration\n\n```\nREDX_SANDBOX=true // for production mode use false\nREDX_ACCESS_TOKEN=\"\"\n```\n\n## Usage\n\n### 1. Get redx delivery area list\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::area()-\u003elist();\n\n```\n\n### 2. Create new store\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::store()\n                        -\u003ecreate([\n                           \"name\"    =\u003e \"\", //store name\n                           \"phone\"   =\u003e \"\", //store contact person \n                           \"area_id\" =\u003e \"\",\n                           \"address\" =\u003e \"\",\n                        ]);\n```\n\n### 3. Get Store List\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::store()-\u003elist();\n```\n\n### 4. Store Details\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::store()-\u003estoreDetails($storeId);\n```\n\n### 5. Create new parcel\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::order()\n                        -\u003ecreate([\n                            \"customer_name\"          =\u003e \"\", \n                            \"customer_phone\"         =\u003e \"\",\n                            \"delivery_area\"          =\u003e \"\", // delivery area name\n                            \"delivery_area_id\"       =\u003e \"\", // area id\n                            \"customer_address\"       =\u003e \"\", \n                            \"merchant_invoice_id\"    =\u003e \"\",\n                            \"cash_collection_amount\" =\u003e \"\",\n                            \"parcel_weight\"          =\u003e \"\", //parcel weight in gram\n                            \"instruction\"            =\u003e \"\",\n                            \"value\"                  =\u003e \"\", //compensation amount\n                            \"pickup_store_id\"        =\u003e \"\", // store id\n                            \"parcel_details_json\"    =\u003e \"\"\n                        ]);\n```\n\n### 6. Get Order Details\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::order()-\u003eorderDetails($trackingId); // After successfully create order they given a tracking_id\n```\n\n### 7. Order tracking\n\n```\nuse Codeboxr\\RedxCourier\\Facade\\RedxCourier\n\nreturn RedxCourier::order()-\u003etracking($trackingId); // After successfully create order they given a tracking_id\n```\n\n## Contributing\n\nContributions to the Redx package are welcome. Please note the following guidelines before submitting your pull\nrequest.\n\n- Follow [PSR-4](http://www.php-fig.org/psr/psr-4/) coding standards.\n- Read Redx API documentations first\n\n## License\n\nRedx package is licensed under the [MIT License](http://opensource.org/licenses/MIT).\n\nCopyright 2022 [Codeboxr](https://codeboxr.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeboxrcodehub%2Fredx-courier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeboxrcodehub%2Fredx-courier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeboxrcodehub%2Fredx-courier/lists"}