alex-patterson-webdev / laminas-monolog
Monolog integration module for Laminas Applications
0.2.0
2023-04-30 16:44 UTC
Requires
- php: >=8.1
- ext-json: *
- alex-patterson-webdev/laminas-factory: ^4.0.0
- monolog/monolog: ^2.9
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.6.0
- phpspec/prophecy: ^1.15.0
- phpstan/phpstan: ^1.4.8
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
This package is auto-updated.
Last update: 2024-11-30 01:36:46 UTC
README
Arp\LaminasMonolog
About
Monolog integration module for Laminas Applications
Installation
Installation via Composer.
require alex-patterson-webdev/laminas-monolog ^1.0.0
Register the modules services with the Laminas Service Manager by adding the module namespace to your applications config/modules.config.php
file.
// config/modules.config.php
return [
// ...
'Arp\\LaminasMonolog',
// ...
];
Loggers
The easiest way to create a new Monolog logger is via configuration options. The Arp\\Monolog
provides factory classes to allow
for most of the default Monolog features to be optionally included, without having to write any code.