PHPackages                             alazziaz/laravel-dapr-events - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. alazziaz/laravel-dapr-events

Abandoned → [alazziaz/laravel-dapr](/?search=alazziaz%2Flaravel-dapr)ArchivedLibrary[Queues &amp; Workers](/categories/queues)

alazziaz/laravel-dapr-events
============================

Deprecated — use alazziaz/laravel-dapr instead.

v1.0.1(6mo ago)412MITPHPPHP ^8.2CI failing

Since Oct 28Pushed 6mo agoCompare

[ Source](https://github.com/alazzi-az/laravel-dapr-events)[ Packagist](https://packagist.org/packages/alazziaz/laravel-dapr-events)[ RSS](/packages/alazziaz-laravel-dapr-events/feed)WikiDiscussions main Synced 1mo ago

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

⚠️ Package Deprecated — Moved to [alazziaz/laravel-dapr](https://github.com/alazzi-az/laravel-dapr)
===================================================================================================

[](#️-package-deprecated--moved-to-alazziazlaravel-dapr)

Laravel Dapr Events
===================

[](#laravel-dapr-events)

[![Packagist Version](https://camo.githubusercontent.com/14b8cba41bafdb1e7e71ab85d95faab1da87149ea029ab96b74b5d0265e58c8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c617a7a69617a2f6c61726176656c2d646170722d6576656e74732e7376673f636f6c6f723d306636616234)](https://packagist.org/packages/alazziaz/laravel-dapr-events)[![Total Downloads](https://camo.githubusercontent.com/e7f401614885cb08bfab69964bcee9dc84e277651ed0365cc20d67217024ff5e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c617a7a69617a2f6c61726176656c2d646170722d6576656e74732e737667)](https://packagist.org/packages/alazziaz/laravel-dapr-events)

Laravel-friendly tooling for publishing and consuming framework events over [Dapr Pub/Sub](https://docs.dapr.io/developing-applications/building-blocks/pubsub/), mirroring the developer ergonomics of while swapping RabbitMQ, kafka transport for the Dapr sidecar.

Packages
--------

[](#packages)

- **`alazziaz/laravel-dapr-events`** – metapackage that installs all components in one go.
- **`alazziaz/laravel-dapr-foundation`** – shared contracts, service provider, config, and documentation. Publishes the `/dapr/subscribe` endpoint and bridges local Laravel events to Dapr.
- **`alazziaz/laravel-dapr-publisher`** – Dapr-backed publisher with middleware pipeline, CloudEvent wrapping, and testing fakes.
- **`alazziaz/laravel-dapr-listener`** – Subscription discovery, HTTP ingress controller, listener middleware, and artisan tooling to scaffold listeners.

Install the metapackage for the full experience:

```
composer require alazziaz/laravel-dapr-events
```

- **if you face any issues with php version, only add --ignore-platform-reqs flag to the above command this issue related to dapr-php-sdk package.**

Highlights
----------

[](#highlights)

- Automatically expose Laravel events to Dapr via `GET /dapr/subscribe`.
- Publish events with `event(new OrderPlaced(...))` or the explicit publisher service.
- Middleware pipelines on both publisher and listener sides for correlation IDs, tenancy, timestamps, and retries.
- Optional signature verification for ingress requests.
- Tests powered by Pest + Orchestra Testbench with a `DaprEventFake` for publisher assertions.
- Example Laravel application under `examples/laravel-app` to demonstrate end-to-end usage.

Refer to [`docs/quickstart.md`](docs/quickstart.md) for setup guidance, Dapr component examples, and workflow details.

### Example applications

[](#example-applications)

Looking for a full end-to-end demo? Check out the companion repo: [mohammedazman/laravel-dapr-events-example](https://github.com/mohammedazman/laravel-dapr-events-example). It contains a pair of Laravel services wired up with these packages and ready to run against a Dapr sidecar.

PHP compatibility with `dapr/php-sdk`
-------------------------------------

[](#php-compatibility-with-daprphp-sdk)

The official Dapr PHP SDK only ships development builds right now and its `dev-main` branch targets PHP 8.4. Until upstream tags a stable release, you have two practical options when installing these packages:

1. Allow dev dependencies for the SDK in your consuming application:

    ```
    {
        "minimum-stability": "dev",
        "prefer-stable": true
    }
    ```

    or require the SDK explicitly with a dev constraint:

    ```
    composer require dapr/php-sdk:dev-main --prefer-stable --ignore-platform-reqs
    ```

    or add to your `composer.json`:

    ```
    {
        "require": {
            "dapr/php-sdk": "dev-main"
        },
        "prefer-stable": true
    }
    ```
2. Pin to a released SDK version (for example `^1.2`) if you can work with the APIs available there.

This requirement exists because the upstream Dapr SDK has not yet published a stable release that supports PHP 8.2/8.3.

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance67

Regular maintenance activity

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

2

Last Release

197d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/750a1566a9f2ed8de9e8da9fee372b4426d7585bfdabdb65a1932a40e409a3e3?d=identicon)[alazzi](/maintainers/alazzi)

---

Top Contributors

[![mohammedazman](https://avatars.githubusercontent.com/u/56982649?v=4)](https://github.com/mohammedazman "mohammedazman (9 commits)")

---

Tags

laraveleventslistenerpubsubpublisherdapr

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alazziaz-laravel-dapr-events/health.svg)

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

71510.9M66](/packages/laravel-mcp)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k8.2M51](/packages/spatie-laravel-responsecache)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[nuwber/rabbitevents

The Nuwber RabbitEvents package

120515.8k3](/packages/nuwber-rabbitevents)

PHPackages © 2026

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