PHPackages                             rundum/event-base - 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. rundum/event-base

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rundum/event-base
=================

Basic events for symfony projects

0.4.0(1y ago)01.5k1MITPHPCI failing

Since Oct 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hepisec/rundum-event-base)[ Packagist](https://packagist.org/packages/rundum/event-base)[ RSS](/packages/rundum-event-base/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (4)Versions (10)Used By (1)

rundum/event-base
=================

[](#rundumevent-base)

This library provides basic events for Symfony 4 + Doctrine ORM based applications.

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

[](#installation)

```
composer require rundum/event-base
```

If you don't use Symfony flex, add the following configuration (`config/packages/rundum_event_base.yaml`)

```
services:
    _defaults:
        autowire: true
        autoconfigure: true
        public: false

    rundum.event.entity.subscriber:
        class: Rundum\EventSubscriber\EntityEventSubscriber
```

Usage
-----

[](#usage)

```
class ExampleService {

    private $dispatcher;

    // Constructor with Dependency Injection
    function __construct(
            EventDispatcherInterface $dispatcher,
    ) {
        $this->dispatcher = $dispatcher;
    }

    function saveEntity($entity) {
        // -> INSERT ...
        $this->dispatcher->dispatch(new EntityChangeIntendedEvent($entity, true), EntityChangeIntendedEvent::NAME);
    }

    function updateEntity($entity) {
        // -> UPDATE ...
        $this->dispatcher->dispatch(new EntityChangeIntendedEvent($entity), EntityChangeIntendedEvent::NAME);
    }

    function deleteEntity($entity) {
        // -> DELETE FROM ...
        $this->dispatcher->dispatch(new EntityRemovalIntendedEvent($entity), EntityRemovalIntendedEvent::NAME);
    }
}
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

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

Recently: every ~328 days

Total

9

Last Release

676d ago

### Community

Maintainers

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

---

Top Contributors

[![hepisec](https://avatars.githubusercontent.com/u/15111012?v=4)](https://github.com/hepisec "hepisec (11 commits)")

---

Tags

event-dispatchersymfony

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rundum-event-base/health.svg)

```
[![Health](https://phpackages.com/badges/rundum-event-base/health.svg)](https://phpackages.com/packages/rundum-event-base)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k853.6M8.3k](/packages/symfony-http-kernel)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M373](/packages/easycorp-easyadmin-bundle)[sulu/sulu

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

1.3k1.4M196](/packages/sulu-sulu)[phpro/soap-client

A general purpose SoapClient library

8895.9M52](/packages/phpro-soap-client)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

749284.3k35](/packages/civicrm-civicrm-core)

PHPackages © 2026

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