{"id":15309188,"url":"https://github.com/arif98741/multicourier","last_synced_at":"2026-01-14T00:08:25.013Z","repository":{"id":57083767,"uuid":"448883625","full_name":"arif98741/multicourier","owner":"arif98741","description":"This is a courier api endpoints library for interacting such as ecourier, pathao, steadfast, redx etc. Specially built for laravel.","archived":true,"fork":false,"pushed_at":"2022-06-15T16:39:38.000Z","size":393,"stargazers_count":27,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-29T01:13:15.746Z","etag":null,"topics":["api","courier","e-courier","ecourier","ecourier-booking","ecourier-parcel-tracker","laravel","pathao-api","pathao-merchant","php","redx","steadfast","steadfast-api"],"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/arif98741.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"arif98741","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-01-17T12:24:51.000Z","updated_at":"2025-11-20T15:35:03.000Z","dependencies_parsed_at":"2022-08-24T14:42:48.973Z","dependency_job_id":null,"html_url":"https://github.com/arif98741/multicourier","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/arif98741/multicourier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Fmulticourier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Fmulticourier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Fmulticourier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Fmulticourier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arif98741","download_url":"https://codeload.github.com/arif98741/multicourier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arif98741%2Fmulticourier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","e-courier","ecourier","ecourier-booking","ecourier-parcel-tracker","laravel","pathao-api","pathao-merchant","php","redx","steadfast","steadfast-api"],"created_at":"2024-10-01T08:21:28.457Z","updated_at":"2026-01-14T00:08:24.989Z","avatar_url":"https://github.com/arif98741.png","language":"PHP","funding_links":["https://patreon.com/arif98741"],"categories":[],"sub_categories":[],"readme":"This is a courier api endpoints library for interacting such as e-courier, pathao etc\n\n\n# Installation\n\n### Step 1:\n\n```\ncomposer require xenon/multicourier\n```\n\n### Step 2:\n\nThen, publish the package\n\n```\nphp artisan vendor:publish --provider=Xenon\\MultiCourier\\MultiCourierServiceProvider\n```\n\n### Step 3:\n\nSet **.env** configuration for individual couriers\n\n```PATHAO_CLIENT_ID=XXX \nPATHAO_CLIENT_SECRET=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"\nPATHAO_USERNAME=\"xxxx@example.com\"\nPATHAO_PASSWORD=\"xxxxxx\"\nPATHAO_GRANT_TYPE=\"password\"\n\nECOURIER_API_KEY='xxx'\nECOURIER_API_SECRET='xxx'\nECOURIER_USER_ID='xxxx'\nECOURIER_ENVIRONMENT='xxxx'\n```\n\nOtherwise, if you want more control, you can use the underlying sender object. This will not touch any laravel facade or\nservice provider.\n\n#### Sample Code Requesting to E-courier\n\n\u003cpre\u003e\nuse Xenon\\MultiCourier\\Provider\\ECourier;\nuse Xenon\\MultiCourier\\Courier;\n\n\n$courier = Courier::getInstance();\n$courier-\u003esetProvider(ECourier::class, 'local'); /* local/production */\n$courier-\u003esetConfig([\n    'API-KEY' =\u003e 'xxx',\n    'API-SECRET' =\u003e 'xxxx',\n    'USER-ID' =\u003e 'xxxx',\n]);\n$courier-\u003esetParams(['city'=\u003e'Dhaka']);\n$thanas = $courier-\u003egetThanas(); //get thana\n$cities = $courier-\u003egetCities(); //get city\n\u003c/pre\u003e\n\n\u003cpre\u003e\n//place order\nuse Xenon\\MultiCourier\\Provider\\ECourier;\nuse Xenon\\MultiCourier\\Courier;\n\n\n$courier = Courier::getInstance();\n$courier-\u003esetProvider(ECourier::class, 'local'); /* local/production */\n$courier-\u003esetConfig([\n    'API-KEY' =\u003e 'xxx',\n    'API-SECRET' =\u003e 'xxx',\n    'USER-ID' =\u003e 'xxx',\n]);\n$orderData = array(\n    'recipient_name' =\u003e 'XXXXX',\n    'recipient_mobile' =\u003e '017XXXXX',\n    'recipient_city' =\u003e 'Dhaka',\n    'recipient_area' =\u003e 'Badda',\n    'recipient_thana' =\u003e 'Badda',\n    'recipient_address' =\u003e 'Full Address',\n    'package_code' =\u003e '#XXXX',\n    'product_price' =\u003e '1500',\n    'payment_method' =\u003e 'COD',\n    'recipient_landmark' =\u003e 'DBBL ATM',\n    'parcel_type' =\u003e 'BOX',\n    'requested_delivery_time' =\u003e '2019-07-05',\n    'delivery_hour' =\u003e 'any',\n    'recipient_zip' =\u003e '1212',\n    'pick_hub' =\u003e '18490',\n    'product_id' =\u003e 'DAFS',\n    'pick_address' =\u003e 'Gudaraghat new mobile',\n    'comments' =\u003e 'Please handle carefully',\n    'number_of_item' =\u003e '3',\n    'actual_product_price' =\u003e '1200',\n    'pgwid' =\u003e 'XXX',\n    'pgwtxn_id' =\u003e 'XXXXXX'\n);\n\n$courier-\u003esetParams($orderData);\n$response = $courier-\u003eplaceOrder();\n\n\n\u003c/pre\u003e\n\n\n#### Sample Code Requesting to Pathao\n\n\u003cpre\u003e\nuse Xenon\\MultiCourier\\Courier;\nuse Xenon\\MultiCourier\\Provider\\Pathao;\n\n$courier = Courier::getInstance();\n$courier-\u003esetProvider(Pathao::class, 'local'); /* local/production */\n$courier-\u003esetMethod('get');\n$courier-\u003esetRequestEndpoint('cities/1/zone-list', []); //second param should be array. its optional. you should form params here\n$response = $courier-\u003esend();\n\u003c/pre\u003e\n\n# Available Methods to Interact with Provider's Api\n### _getInstance()_\n### _getConfig()_\n### _setConfig()_\n### _getParams()_\n### _setParams()_\n### _getProvider()_\n### _setProvider()_\n### _getCities()_\n### _getThanas()_\n### _trackOrder()_\n### _trackChildOrder()_\n### _getPackages()_\n### _placeOrder()_\n### _cancelOrder()_\n### _cancelChildOrder()_\n### _fraudStatusCheck()_\n### _getAreas()_\n### _getPostCodes()_\n### _getBranches()_\n### _printLabel()_\n### _boostSms()_\n### _topupSms()_\n### _topTransactionStatus()_\n### _topupOtp()_\n\n#### Currently Supported Courier Gateways\n\n* **ECourier**\n* **Pathao**\n\n\u003cp align=\"center\" \u003e\n\u003cimg src=\"https://raw.githubusercontent.com/arif98741/multicourier/master/img/ecourier.png\"\u003e\n\u003cimg  src=\"https://raw.githubusercontent.com/arif98741/multicourier/master/img/pathao.png\"\u003e\n\u003c/p\u003e\n\n\nWe are continuously working in this open source library for adding more Bangladeshi courier companies. If you feel something\nis missing then make a issue regarding that. Your can pull request to **dev** branch. \nIf you want to contribute in this library, then you are highly welcome to\ndo that....\nread blog from here \u003cbr\u003e\nhttps://dev.to/arif98741/bangladeshi-courier-company-api-integration-in-laravel-using-xenon-multicourier-package-4m12\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farif98741%2Fmulticourier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farif98741%2Fmulticourier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farif98741%2Fmulticourier/lists"}