PHPackages                             becklyn/eventor-symfony - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. becklyn/eventor-symfony

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

becklyn/eventor-symfony
=======================

A minimalistic library for abstracting pub/sub operations (ported for Symfony)

3.0.0(3y ago)01.2kBSD-3-ClausePHPPHP &gt;=8.1

Since Aug 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Becklyn/eventor-symfony)[ Packagist](https://packagist.org/packages/becklyn/eventor-symfony)[ RSS](/packages/becklyn-eventor-symfony/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (15)Used By (0)

eventor-symfony
===============

[](#eventor-symfony)

🔮 A minimalistic library for abstracting pub/sub operations (ported for Symfony)

→ *eventor* is [clerk](https://github.com/Becklyn/clerk) for pub/sub 😉

→ the original Go implementation can be found [here](https://github.com/Becklyn/eventor)

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

[](#installation)

```
composer require becklyn/eventor-symfony
```

Supported brokers
-----------------

[](#supported-brokers)

*eventor* has builtin support for the following brokers:

- [Dapr Pub/sub API](https://docs.dapr.io/reference/api/pubsub_api/) - APIs for building portable and reliable microservices

Usage
-----

[](#usage)

Being a minimalistic library, *eventor* only provides you with the basics. The rest is up to your specific need.

### Env variables

[](#env-variables)

```
DAPR_HOST=http://localhost:3500 # Default: (null)
DAPR_PUBSUB=pubsubname # Default: (null)
```

### Publish

[](#publish)

```
class Message
{
    public function __construct(
        private readonly string $id,
        private readonly string $body,
    ) {}

    public function id(): string
    {
        return $this->id;
    }

    public function body(): string
    {
        return $this->body;
    }
}
```

```
class PublishExample
{
    public function __construct(
        private readonly Publisher $publisher,
    ) {
        $this->publisher->publish("topic", new Message(
            id: "0",
            body: "Hello World",
        ));
    }
}
```

### Subscribe

[](#subscribe)

```
class DaprSubscriptionController extends AbstractController
{
    public function __construct(
        private readonly DaprSubscriptionRegistry $subscriptionRegistry,
    ) {
        new On(
            fn (Message $msg) => echo($msg),
            $this->$subscriber,
            "topic",
        );
    }

    #[Route('/dapr/subscribe', methods: [Request::METHOD_GET])]
    public function handleSubscribe() : Response
    {
        return $this->subscriptionRegistry->handleSubscribe();
    }

    #[Route('/dapr/pubsubname/topic', methods: [Request::METHOD_POST])]
    public function handleTopic(Request $request): Response
    {
        return $this->subscriptionRegistry->handleTopic($request);
    }
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~2 days

Total

13

Last Release

1327d ago

Major Versions

1.x-dev → 2.0.02022-09-07

2.x-dev → 3.0.02022-09-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1044355?v=4)[Becklyn Studios](/maintainers/becklyn)[@Becklyn](https://github.com/Becklyn)

---

Top Contributors

[![msvujnovic-becklyn](https://avatars.githubusercontent.com/u/74408165?v=4)](https://github.com/msvujnovic-becklyn "msvujnovic-becklyn (2 commits)")

### Embed Badge

![Health badge](/badges/becklyn-eventor-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/becklyn-eventor-symfony/health.svg)](https://phpackages.com/packages/becklyn-eventor-symfony)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M647](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)

PHPackages © 2026

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