{"id":24200217,"url":"https://github.com/codeboxrcodehub/paperfly-courier","last_synced_at":"2025-09-21T23:32:31.200Z","repository":{"id":58707395,"uuid":"533245914","full_name":"codeboxrcodehub/paperfly-courier","owner":"codeboxrcodehub","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-17T03:36:46.000Z","size":33,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-19T22:19:40.006Z","etag":null,"topics":["bd-courier","package","paperfly","paperfly-api","paperfly-courier","paperfly-laravel"],"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-09-06T09:11:37.000Z","updated_at":"2024-10-13T13:40:45.000Z","dependencies_parsed_at":"2022-09-06T15:21:02.593Z","dependency_job_id":null,"html_url":"https://github.com/codeboxrcodehub/paperfly-courier","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fpaperfly-courier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fpaperfly-courier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fpaperfly-courier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeboxrcodehub%2Fpaperfly-courier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeboxrcodehub","download_url":"https://codeload.github.com/codeboxrcodehub/paperfly-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":["bd-courier","package","paperfly","paperfly-api","paperfly-courier","paperfly-laravel"],"created_at":"2025-01-13T20:41:38.041Z","updated_at":"2025-09-21T23:32:25.892Z","avatar_url":"https://github.com/codeboxrcodehub.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\" style=\"color: #0b0b0b\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/codeboxrcodehub/paperfly-courier/main/image/logo.png\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003ePaperfly Courier Banagladesh\u003c/h1\u003e\n\u003cp align=\"center\" \u003e\n\u003cimg src=\"https://img.shields.io/packagist/dt/codeboxr/paperfly-courier\"\u003e\n\u003cimg src=\"https://img.shields.io/packagist/stars/codeboxr/paperfly-courier\"\u003e\n\u003c/p\u003e\n\nThis is a Laravel/PHP package for [Paperfly](https://paperfly.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/paperfly-courier).\n\n## Features\n\n1. [Create parcel](https://github.com/codeboxrcodehub/paperfly-courier#1-parcel-create)\n2. [Parcel tracking](https://github.com/codeboxrcodehub/paperfly-courier#2-parcel-tracking)\n3. [Parcel details](https://github.com/codeboxrcodehub/paperfly-courier#3-parcel-details)\n4. [Cancel parcel](https://github.com/codeboxrcodehub/paperfly-courier#4-cancel-parcel)\n\n\n## Requirements\n\n- PHP \u003e=7.2\n- Laravel \u003e= 6\n\n## Installation\n\n```bash\ncomposer require codeboxr/paperfly-courier\n```\n\n### vendor publish (config)\n\n```bash\nphp artisan vendor:publish --provider=\"Codeboxr\\PaperflyCourier\\PaperflyCourierServiceProvider\"\n```\n\nAfter publish config file setup your credential. you can see this in your config directory paperfly.php file\n\n```\n\"sandbox\"  =\u003e env(\"PAPERFLY_SANDBOX\", false),\n\"username\" =\u003e env(\"PAPERFLY_USERNAME\", \"\"),\n\"password\" =\u003e env(\"PAPERFLY_PASSWORD\", \"\"),\n\"key\"      =\u003e env(\"PAPERFLY_KEY\", \"\")\n```\n\n### Set .env configuration\n\n```\nPAPERFLY_SANDBOX=true // for production mode use false\nPAPERFLY_USERNAME=\"\"\nPAPERFLY_PASSWORD=\"\"\nPAPERFLY_KEY=\"\"\n```\n\n## Usage\n\n### 1. Parcel Create\n```\nuse Codeboxr\\PaperflyCourier\\Facade\\PaperflyCourier;\n\nreturn PaperflyCourier::order()-\u003ecreate([\n  \"merOrderRef\"          =\u003e \"\", // merchant invoice id\n  \"pickMerchantName\"     =\u003e \"\" // Pickup store name,\n  \"pickMerchantAddress\"  =\u003e \"\" // Pickup address,\n  \"pickMerchantThana\"    =\u003e \"\" // Pickup thana name,\n  \"pickMerchantDistrict\" =\u003e \"\" // Pickup district name,\n  \"pickupMerchantPhone\"  =\u003e \"\" // Pickup contact person name,\n  \"productSizeWeight\"    =\u003e \"standard\",\n  \"productBrief\"         =\u003e \"\" // Parcel product details, \n  \"packagePrice\"         =\u003e \"\" //parcel price,\n  \"deliveryOption\"       =\u003e \"regular\",\n  \"custname\"             =\u003e \"\" // customer name,\n  \"custaddress\"          =\u003e \"\" // customer address,\n  \"customerThana\"        =\u003e \"\" // customer thana name,\n  \"customerDistrict\"     =\u003e \"\" // customer district name,\n  \"custPhone\"            =\u003e \"\" // customer phone number,\n  \"max_weight\"           =\u003e \"\" // parcel weight in kg\n]);\n```\n\n\n### 2. Parcel Tracking\n```\nuse Codeboxr\\PaperflyCourier\\Facade\\PaperflyCourier;\n\nreturn PaperflyCourier::order()-\u003etracking($trackingNumber) // Tracking Number\n```\n\n### 3. Parcel Details\n```\nuse Codeboxr\\PaperflyCourier\\Facade\\PaperflyCourier;\n\nreturn PaperflyCourier::order()-\u003einvoice($referenceNumber) // reference number\n```\n\n### 4. Cancel Parcel\n```\nuse Codeboxr\\PaperflyCourier\\Facade\\PaperflyCourier;\n\nreturn PaperflyCourier::order()-\u003ecancel($referenceNumber) // reference number\n```\n\n## Contributing\n\nContributions to the Paperfly 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 Paperfly API documentations first\n\n## License\n\nPaperfly 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%2Fpaperfly-courier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeboxrcodehub%2Fpaperfly-courier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeboxrcodehub%2Fpaperfly-courier/lists"}