PHPackages                             domainflow/system-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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. domainflow/system-events

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

domainflow/system-events
========================

File-based logging system for DomainFlow applications.

v0.1.0(1y ago)10MITPHPPHP ^8.3||^8.4CI passing

Since Apr 9Pushed 1y agoCompare

[ Source](https://github.com/domainflow/system-events)[ Packagist](https://packagist.org/packages/domainflow/system-events)[ RSS](/packages/domainflow-system-events/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (2)Used By (0)

DomainFlow System Events
========================

[](#domainflow-system-events)

[![Tests](https://github.com/domainflow/system-events/actions/workflows/tests.yml/badge.svg)](https://github.com/domainflow/system-events/actions/workflows/tests.yml)[![Packagist Version](https://camo.githubusercontent.com/d0ead0ec80b0eb3b3741bca07c1ad3b10aabdf52dc6c2ec5bd667638d11f935f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6d61696e666c6f772f73797374656d2d6576656e7473)](https://camo.githubusercontent.com/d0ead0ec80b0eb3b3741bca07c1ad3b10aabdf52dc6c2ec5bd667638d11f935f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f6d61696e666c6f772f73797374656d2d6576656e7473)[![PHP Version](https://camo.githubusercontent.com/32661b624b3cfcd859f6956ffc8f988193bac3e69b6bdf6829608dfdd088fe89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f6d61696e666c6f772f73797374656d2d6576656e7473)](https://camo.githubusercontent.com/32661b624b3cfcd859f6956ffc8f988193bac3e69b6bdf6829608dfdd088fe89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f646f6d61696e666c6f772f73797374656d2d6576656e7473)[![License](https://camo.githubusercontent.com/b36393390569a55d6ede8a77e0d69f89bfe1e13ee04dffd5b1663f2a6a3ee49c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f6d61696e666c6f772f73797374656d2d6576656e7473)](https://camo.githubusercontent.com/b36393390569a55d6ede8a77e0d69f89bfe1e13ee04dffd5b1663f2a6a3ee49c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f646f6d61696e666c6f772f73797374656d2d6576656e7473)[![PHPStan](https://camo.githubusercontent.com/70237ca9cbbd2749f729e2c3cd1c3446ffa316f600984bafcbe197d8e9a11d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d4c6576656c253230392d627269676874677265656e2e737667)](https://camo.githubusercontent.com/70237ca9cbbd2749f729e2c3cd1c3446ffa316f600984bafcbe197d8e9a11d9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d4c6576656c253230392d627269676874677265656e2e737667)

The **DomainFlow System Events** package captures and processes application lifecycle events using an extensible event-driven architecture. It includes a file-system logger with customizable log templates.

---

✨ Core Functionality
--------------------

[](#-core-functionality)

- **File-based Logging:** Capture and persist events to disk with a customizable template format.
- **Listener Architecture:** Uses attribute-driven event listeners to automatically register catch-all handlers.
- **Post-Boot Replay:** Replays pre-registered events that occurred before the service provider was loaded.
- **Environment Customization:** Configure log paths and templates via environment variables.

---

⚙️ Requirements
---------------

[](#️-requirements)

- **PHP 8.3+**
- Requires `domainflow/core`

---

📦 Installation
--------------

[](#-installation)

Use Composer to install the package:

```
composer require domainflow/system-events
```

---

More details and usage examples can be found in our [documentation](https://www.domainflow.dev/docs/system-events)

---

📄 License
---------

[](#-license)

The **DomainFlow System Events** package is open-sourced software licensed under the [MIT license](https://opensource.org/license/MIT).

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance46

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity44

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

Unknown

Total

1

Last Release

404d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92f358a3839d6f81e18b53a5e04ec8bfb17c057117b9847c59281b0239b796c8?d=identicon)[42dknp](/maintainers/42dknp)

---

Top Contributors

[![42dknp](https://avatars.githubusercontent.com/u/132363982?v=4)](https://github.com/42dknp "42dknp (2 commits)")

---

Tags

domainfloweventslifecyclephp83processorsystemeventssystem-logsdomainflowfile-loggingevent logger

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/domainflow-system-events/health.svg)

```
[![Health](https://phpackages.com/badges/domainflow-system-events/health.svg)](https://phpackages.com/packages/domainflow-system-events)
```

###  Alternatives

[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[codemix/yii2-streamlog

A Yii 2 log target for streams in URL format

531.4M6](/packages/codemix-yii2-streamlog)[tatter/audits

Lightweight object logging for CodeIgniter 4

1320.1k3](/packages/tatter-audits)

PHPackages © 2026

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