{"id":24200225,"url":"https://github.com/codeboxrcodehub/ecourier-courier","last_synced_at":"2025-10-28T03:03:20.214Z","repository":{"id":61037619,"uuid":"528296021","full_name":"codeboxrcodehub/ecourier-courier","owner":"codeboxrcodehub","description":"Ecourier parcel service php/laravel package","archived":false,"fork":false,"pushed_at":"2022-10-14T06:53:22.000Z","size":34,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-23T10:56:27.656Z","etag":null,"topics":["api","ecourier","ecourier-package","ecourier-parcel-tracker","laravel-ecourier","laravel-package"],"latest_commit_sha":null,"homepage":"https://codeboxr.com","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-24T06:33:45.000Z","updated_at":"2024-02-23T10:56:27.657Z","dependencies_parsed_at":"2022-10-09T00:55:12.066Z","dependency_job_id":null,"html_url":"https://github.com/codeboxrcodehub/ecourier-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%2Fecourier-courier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fecourier-courier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fecourier-courier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fecourier-courier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeboxrcodehub","download_url":"https://codeload.github.com/codeboxrcodehub/ecourier-courier/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233808452,"owners_count":18733589,"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","ecourier","ecourier-package","ecourier-parcel-tracker","laravel-ecourier","laravel-package"],"created_at":"2025-01-13T20:41:39.052Z","updated_at":"2025-09-21T23:32:29.024Z","avatar_url":"https://github.com/codeboxrcodehub.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://ecourier.com.bd/wp-content/themes/ecourier-2.0/images/logo.svg\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eEcourier parcel service php/laravel package\u003c/h1\u003e\n\u003cp align=\"center\" \u003e\n\u003cimg src=\"https://img.shields.io/packagist/dt/codeboxr/ecourier-courier\"\u003e\n\u003cimg src=\"https://img.shields.io/packagist/stars/codeboxr/ecourier-courier\"\u003e\n\u003c/p\u003e\n\nThis is a Laravel/PHP package for [Ecourier](https://ecourier.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/ecourier-courier).\n\n## Features\n\n1. [Fetch Ecourier delivery/store city list](https://github.com/codeboxrcodehub/ecourier-courier#1-get-ecourier-delivery-city-list)\n2. [Fetch Ecourier delivery/store thana/upzilla list](https://github.com/codeboxrcodehub/ecourier-courier#2-get-ecourier-delivery-thanaupzilla-list)\n3. [Fetch Ecourier delivery/store postcode list](https://github.com/codeboxrcodehub/ecourier-courier#3-get-ecourier-delivery-postcode-list)\n4. [Fetch Ecourier delivery/store postcode area list](https://github.com/codeboxrcodehub/ecourier-courier#4-get-ecourier-delivery-postcode-area-list)\n5. [Fetch Ecourier delivery/store branch list](https://github.com/codeboxrcodehub/ecourier-courier#5-get-ecourier-branch-list)\n6. [Fetch Ecurier delivery package lsit](https://github.com/codeboxrcodehub/ecourier-courier#6-delivery-package-list)\n7. [Create parcel](https://github.com/codeboxrcodehub/ecourier-courier#7-create-parcel)\n8. [Parcel tracking](https://github.com/codeboxrcodehub/ecourier-courier#8-parcel-tracking)\n\n\n## Requirements\n\n- PHP \u003e=7.4\n- Laravel \u003e= 6\n\n## Installation\n\n```bash\ncomposer require codeboxr/ecourier-courier\n```\n\n### vendor publish (config)\n```bash\nphp artisan vendor:publish --provider=\"Codeboxr\\\\EcourierCourier\\\\EcourierServiceProvider\"\n```\n\nAfter publish config file setup your credential. you can see this in your config directory ecourier.php file\n```\n\"sandbox\"    =\u003e env(\"ECOURIER_SANDBOX\", false), // for sandbox mode use true\n\"app_key\"    =\u003e env(\"ECOURIER_API_KEY\", \"\"),\n\"app_secret\" =\u003e env(\"ECOURIER_API_SECRET\", \"\"),\n\"user_id\"    =\u003e env(\"ECOURIER_USER_ID\", \"\")\n```\n\n### Set .env configuration\n```\nECOURIER_SANDBOX=true // for production mode use false\nECOURIER_API_KEY=\"\"\nECOURIER_API_SECRET=\"\"\nECOURIER_USER_ID=\"\"\n```\n\n## Usage\n\n### 1. Get ecourier delivery city list\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::area()-\u003ecity();\n\n```\n\n### 2. Get ecourier delivery thana/upzilla list\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::area()-\u003ethana($cityName);\n\n```\n\n### 3. Get ecourier delivery postcode list\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::area()-\u003epostcode($cityName,$thanaName);\n\n```\n\n### 4. Get ecourier delivery postcode area list\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::area()-\u003eareaList($postcode);\n\n```\n\n### 5. Get ecourier branch list\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::area()-\u003ebranch();\n\n```\n\n### 6. Delivery package list\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::order()-\u003epackageList();\n\n```\n\n### 7. Create Parcel\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::order()-\u003ecreate([\n    \"ep_name\"              =\u003e \"\", // eCommerce Partner (EP) Name\n    \"pick_contact_person\"  =\u003e \"\", // Contact Person of provided ep\n    \"pick_district\"        =\u003e \"\", // Pickup district name\n    \"pick_thana\"           =\u003e \"\", // Pickup thana name\n    \"pick_hub\"             =\u003e \"\", // Pickup branch id \n    \"pick_union\"           =\u003e \"\", // Pickup union \n    \"pick_address\"         =\u003e \"\", // Pickup address\n    \"pick_mobile\"          =\u003e \"\", // Pickup person contact number\n    \"recipient_name\"       =\u003e \"\", // Parcel receiver’s name\n    \"recipient_mobile\"     =\u003e \"\", // Parcel receiver’s mobile number\n    \"recipient_district\"   =\u003e \"\", // Parcel receiver’s district name\n    \"recipient_city\"       =\u003e \"\", // Parcel receiver’s city name\n    \"recipient_area\"       =\u003e \"\", // Parcel receiver’s area name\n    \"recipient_thana\"      =\u003e \"\", // Parcel receiver’s thana name\n    \"recipient_union\"      =\u003e \"\", // Parcel receiver’s union name\n    \"package_code\"         =\u003e \"\", // Package code find in package API\n    \"recipient_address\"    =\u003e \"\", // Parcel receiver’s full address\n    \"parcel_detail\"        =\u003e \"\", // Parcel product or documents details\n    \"number_of_item\"       =\u003e \"\", // Total quantity\n    \"product_price\"        =\u003e \"\", // Receive amount from parcel receiver’s\n    \"payment_method\"       =\u003e \"\", // Cash On Delivery – COD,Point of Sale – POS, Mobile Payment – MPAY, Card Payment – CCRD\n    \"ep_id\"                =\u003e \"\", // Invoice Id \n    \"actual_product_price\" =\u003e \"\" // Parcel product actual price\n]);\n\n```\n\n### 8. Parcel tracking\n\n```\nuse Codeboxr\\EcourierCourier\\Facade\\Ecourier;\n\nreturn Ecourier::order()-\u003etracking($trackingId); //$trackingId find when create parcel they give you ID\n\n```\n\n\n## Contributing\n\nContributions to the Ecourier package are welcome. Please note the following guidelines before submitting your pull request.\n\n- Follow [PSR-4](http://www.php-fig.org/psr/psr-4/) coding standards.\n- Read Ecourier API documentations first\n\n## License\n\nEcourier 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%2Fecourier-courier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeboxrcodehub%2Fecourier-courier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeboxrcodehub%2Fecourier-courier/lists"}