PHPackages                             perfectin/domain - 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. [Framework](/categories/framework)
4. /
5. perfectin/domain

ActiveTypo3-flow-framework[Framework](/categories/framework)

perfectin/domain
================

TYPO3 Flow package to use for domain events

011PHP

Since Jun 26Pushed 12y ago1 watchersCompare

[ Source](https://github.com/benovie/PerfectIn.Domain)[ Packagist](https://packagist.org/packages/perfectin/domain)[ RSS](/packages/perfectin-domain/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PerfectIn.Domain is TYPO3.Flow package for supporting domain events.

- Event publishing without any dependencies
- Event subscription without any depedencies

Trigger domain event
--------------------

[](#trigger-domain-event)

```

use PerfectIn\App\Domain\Event as Event;

function doSomething($something) {
 	$event = new Event\SomethingHappenedEvent($something);
s}

```

Domain event
------------

[](#domain-event)

- needs annotiation @PerfectIn\\Domain\\Annotations\\Event
- annotation option: publish =&gt; to automatically publish event after construction (default=true)
- annotation option: persist =&gt; to automatically persist (TODO!) event after construction (default=false)

```

namespace PerfectIn\App\Domain\Event;

use PerfectIn\Domain\Annotations as Domain;

/**
 * something happened event
 *
 * @Domain\Event
 */
class SomethingHappenedEvent  {

}

```

Example Subscribe to domain event
---------------------------------

[](#example-subscribe-to-domain-event)

- needs annotiation @PerfectIn\\Domain\\Annotations\\Subscribe("classnameOfDomainEvent")

```

use PerfectIn\Domain\Annotations as Domain;
use PerfectIn\App\Domain\Event as Event;

/**
 * @Domain\Subscribe("PerfectIn\App\Domain\Event\SomethingHappenedEvent")
 * @param Event\SomethingHappenedEvent $somethingHappenedEvent
 */
public function logSomethingHappened(Event\SomethingHappenedEvent $somethingHappenedEvent) {

}

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6870882?v=4)[Benjamin Heek](/maintainers/benovie)[@benovie](https://github.com/benovie)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/perfectin-domain/health.svg)

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

###  Alternatives

[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k39.6M300](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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