domainflow / system-events
File-based logging system for DomainFlow applications.
v0.1.0
2025-04-09 10:55 UTC
Requires
- php: ^8.3||^8.4
- domainflow/core: ^0.1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.70
- mikey179/vfsstream: ^1.6
- nikic/php-parser: ^5.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-deprecation-rules: ^2.0
- phpunit/phpunit: ^12.0
- symfony/phpunit-bridge: ^7.2
README
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.