domainflow/system-events

File-based logging system for DomainFlow applications.

v0.1.0 2025-04-09 10:55 UTC

This package is auto-updated.

Last update: 2025-07-09 11:28:25 UTC


README

Tests Packagist Version PHP Version License PHPStan

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

  • 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

  • PHP 8.3+
  • Requires domainflow/core

📦 Installation

Use Composer to install the package:

composer require domainflow/system-events

More details and usage examples can be found in our documentation

📄 License

The DomainFlow System Events package is open-sourced software licensed under the MIT license.