Download the PHP package monitaroo/monitaroo-symfony without Composer
On this page you can find all versions of the php package monitaroo/monitaroo-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download monitaroo/monitaroo-symfony
More information about monitaroo/monitaroo-symfony
Files in monitaroo/monitaroo-symfony
Package monitaroo-symfony
Short Description Official Monitaroo Bundle for Symfony - Logs, Metrics & Monitoring
License MIT
Homepage https://github.com/Monitaroo/monitaroo-symfony
Informations about the package monitaroo-symfony
Monitaroo Symfony Bundle
Official Symfony Bundle for Monitaroo - Logs, Metrics & Monitoring.
Installation
Requirements: PHP 7.2+, Symfony 2.8+
Configuration
Symfony 4+ (Flex)
Create config/packages/monitaroo.yaml:
Add to .env:
Symfony 2.8 / 3.x
Register the bundle in app/AppKernel.php:
Add configuration in app/config/config.yml:
Quick Start
Using with Monolog
Add Monitaroo as a Monolog handler in config/packages/monolog.yaml:
Then use the standard logger:
Full Configuration
Logging
Log Levels
Context & Tags
Exception Logging
Metrics
Counter
Gauge
Timer
Histogram
Auto-Flush
Logs and metrics are automatically flushed on kernel.terminate event, after the response is sent to the client.
To disable auto-flush:
Then manually flush:
Console Commands
For console commands, logs are flushed when the command finishes (via shutdown handler).
For long-running commands, call flush() periodically:
License
MIT License. See LICENSE for details.
All versions of monitaroo-symfony with dependencies
monitaroo/monitaroo-php Version ^1.0.2 || ^2.0.2
symfony/framework-bundle Version ^2.8 || ^3.4 || ^4.4 || ^5.4 || ^6.0 || ^7.0
symfony/config Version ^2.8 || ^3.4 || ^4.4 || ^5.4 || ^6.0 || ^7.0
symfony/dependency-injection Version ^2.8 || ^3.4 || ^4.4 || ^5.4 || ^6.0 || ^7.0