PHPackages                             wddyousuf/paperfly - 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. wddyousuf/paperfly

ActiveLibrary[API Development](/categories/api)

wddyousuf/paperfly
==================

This package is an API integration for paperfly courier

v1.0.0(3y ago)496MITPHP

Since Jun 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wddyousuf/paperfly)[ Packagist](https://packagist.org/packages/wddyousuf/paperfly)[ RSS](/packages/wddyousuf-paperfly/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

wddyousuf/paperfly
==================

[](#wddyousufpaperfly)

*a package for Paperfly Courier Integration for Laravel Developer.*
-------------------------------------------------------------------

[](#a-package-for-paperfly-courier-integration-for-laravel-developer)

Step 1
------

[](#step-1)

```
composer require wddyousuf/paperfly
php artisan vendor:publish --provider=Wddyousuf\Paperfly\PaperflyServiceProvider
php artisan config:cache
```

This will create a courier.php in the config/ directory. Set your desired provider as default\_provider and fill up the necessary environment variable of that provider.

Step 2
------

[](#step-2)

Set .env configuration

```
COURIER_USERNAME="XXXXXXXX"
COURIER_PASSWORD="XXXXXXXXXX"
COURIER_API_KEY="Paperfly_~La?Rj73FcLm"
COURIER_PROVIDER="PAPERFLY"
```

Sample Code For Requesting a Pick Up
------------------------------------

[](#sample-code-for-requesting-a-pick-up)

```
use Wddyousuf\Paperfly\Facades\PaperflyCourier;

$OrderInformation=[
    "OrderNo" => "111111",
    "MerchantName" => "Mr. X",
    "MerchantAddress" => "Test",
    "MerchantThana" => "Dhanmondi",
    "MerchantDistrict" => "Dhaka",
    "MerchantPhone" => "017xxxxx",
    "SizeWeight" => "standard",
    "productDetails" => "Usb Fan",
    "packagePrice" => "0",
    "deliveryType" => "regular",
    "CustomerName" => "Mr. Y",
    "CustomerAddress" => "Road 27, Dhanmondi",
    "CustomerThana" => "Adabor",
    "CustomerDistrict" => "Dhaka",
    "CustomerPhone" => "017xxxxx",
    "max_weight" => "10",
];
$response = PaperflyCourier::sendRequest($OrderInformation);

//Collect Thana list from paperfly
//Collect District list from paperfly
// max_weight is only for weight Enabled Pickup Request
//If Thana and District doesn't match with paperfly list,It will occur error
```

Sample Code For Tracking an Order
---------------------------------

[](#sample-code-for-tracking-an-order)

```
use Wddyousuf\Paperfly\Facades\PaperflyCourier;

$orderId='XXXXXXX';
$response = PaperflyCourier::trackOrder($orderId);
```

Sample Code For Invoice
-----------------------

[](#sample-code-for-invoice)

```
use Wddyousuf\Paperfly\Facades\PaperflyCourier;

$orderId='XXXXXXX';
$response = PaperflyCourier::courierInvoice($orderId);
```

Sample Code For Cancel Order
----------------------------

[](#sample-code-for-cancel-order)

```
use Wddyousuf\Paperfly\Facades\PaperflyCourier;

$orderId='XXXXXXX';
$response = PaperflyCourier::CourierOrderCancel($orderId);
```

License
-------

[](#license)

MIT

If you feel something is missing then make a issue regarding that. Your can pull reques. If you want to contribute in this library, then you are highly welcome to do that....

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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 ~0 days

Total

4

Last Release

1426d ago

Major Versions

v0.0.3\_alpha → v1.0.02022-06-14

### Community

Maintainers

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

---

Top Contributors

[![wddyousuf](https://avatars.githubusercontent.com/u/75154914?v=4)](https://github.com/wddyousuf "wddyousuf (7 commits)")[![arif98741](https://avatars.githubusercontent.com/u/17213478?v=4)](https://github.com/arif98741 "arif98741 (1 commits)")

### Embed Badge

![Health badge](/badges/wddyousuf-paperfly/health.svg)

```
[![Health](https://phpackages.com/badges/wddyousuf-paperfly/health.svg)](https://phpackages.com/packages/wddyousuf-paperfly)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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