micro / plugin-logger-core
Micro Framework: Logger plugin
v1.6.0
2023-01-21 14:50 UTC
Requires
- micro/kernel: ^1.6
- micro/kernel-boot-configuration: ^1.6
- micro/kernel-boot-dependency: ^1.6
- psr/log: ^1 || ^2 || ^3
Requires (Dev)
- ergebnis/composer-normalize: ^2.29
- friendsofphp/php-cs-fixer: ^3.13
- phpstan/phpstan: ^1.9
- phpunit/php-code-coverage: ^9.2
- phpunit/phpunit: ^9.5
- vimeo/psalm: ^5.2
This package is auto-updated.
Last update: 2024-05-04 22:12:41 UTC
README
Requirements
PHP >= 8.0.0
How to use the library
Add the latest version of micro/kernel into your project by using Composer or manually:
Using Composer (Recommended)
Or require the package inside the composer.json of your project:
"require": {
"micro/kernel": "^1"
},
Example
After adding the library to your project, include the file autoload.php found in root of the library.
include 'vendor/autoload.php';
Configuration
Simple usage:
$plugins = [ \Micro\Plugin\Logger\LoggerPlugin::class, ];