PHPackages                             ecourier/ecourier-laravel - 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. ecourier/ecourier-laravel

ActiveLibrary[API Development](/categories/api)

ecourier/ecourier-laravel
=========================

Laravel wrapper for the eCourier PHP SDK.

v1.1.0(3w ago)03241MITPHPPHP ^8.4CI passing

Since Jul 15Pushed 3w ago1 watchersCompare

[ Source](https://github.com/utecca/ecourier-laravel)[ Packagist](https://packagist.org/packages/ecourier/ecourier-laravel)[ RSS](/packages/ecourier-ecourier-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (2)Dependencies (16)Versions (3)Used By (0)

eCourier Laravel
================

[](#ecourier-laravel)

Laravel wrapper for `ecourier/ecourier`.

Installation
------------

[](#installation)

```
composer require ecourier/ecourier-laravel
php artisan vendor:publish --tag=ecourier-config
```

Usage
-----

[](#usage)

```
use Ecourier\EcourierConnector;

$document = app(EcourierConnector::class)->documents()->find('doc_01xyz');
```

Config
------

[](#config)

Set your API key in `.env`:

```
ECOURIER_API_KEY=pk_test_your_key
```

Incoming webhooks are registered at `/webhooks/ecourier` by default and are handled by `spatie/laravel-webhook-client`.

```
ECOURIER_WEBHOOK_SECRET=your_webhook_secret
ECOURIER_WEBHOOK_MODEL="App\Models\WebhookCall"
```

Listen for parsed webhook events:

```
use Ecourier\Laravel\Events\EcourierWebhookReceived;

Event::listen(EcourierWebhookReceived::class, function (EcourierWebhookReceived $event) {
    $event->webhook; // Ecourier\Data\Webhook\DocumentWebhook
    $event->webhookCall; // Spatie webhook call model
});
```

Credits
-------

[](#credits)

- [Bart Potmalnik](https://github.com/bpotmalnik) — original author
- [All Contributors](https://github.com/utecca/ecourier-laravel/graphs/contributors)

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance94

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.3% 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 ~16 days

Total

2

Last Release

25d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3864165?v=4)[Albert Haff](/maintainers/Alberthaff)[@alberthaff](https://github.com/alberthaff)

---

Top Contributors

[![alberthaff](https://avatars.githubusercontent.com/u/3864165?v=4)](https://github.com/alberthaff "alberthaff (13 commits)")[![bpotmalnik](https://avatars.githubusercontent.com/u/20015942?v=4)](https://github.com/bpotmalnik "bpotmalnik (2 commits)")[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (1 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ecourier-ecourier-laravel/health.svg)

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

818355.4k3](/packages/defstudio-telegraph)[spatie/laravel-health

Monitor the health of a Laravel application

88412.7M190](/packages/spatie-laravel-health)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5226.7k](/packages/simplestats-io-laravel-client)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

46273.9k](/packages/harris21-laravel-fuse)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1614.1k4](/packages/masterix21-laravel-licensing)[tapp/filament-webhook-client

Add a Filament resource and a policy for Spatie Webhook client

1129.6k](/packages/tapp-filament-webhook-client)

PHPackages © 2026

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