ollily / ezlogging
Simplify the usage of - Logging with Monolog - Testing with PHPUnit - Reflection with PHP - Developer shortkeys for composer
Requires
- php: >=7.4
- composer/composer: ^2.0
- monolog/monolog: ^2.10
- php-ds/php-ds: ^1.0
- psr/log: ^1.0||^2.0||^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpmd/phpmd: ^2.0
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^9.6
- psalm/plugin-phpunit: ^0.19
- rogervila/php-sonarqube-scanner: ^1.0
- squizlabs/php_codesniffer: ^3.13
- vimeo/psalm: ^5.26
Suggests
- bamarni/composer-bin-plugin: Having compatible versions
- hrodic/php-integration-testing: Integration Testing with PHPUnit
Provides
- psr/log-implementation: ^1.0||^2.0||^3.0
This package is auto-updated.
Last update: 2026-05-08 18:13:10 UTC
README
Table of ContentsDescription
Simplify the usage of
-
Logging with Monolog
-
Testing with PHPUnit
-
Reflection with PHP
-
Developer shortkeys for composer
Configuration
Please read the configuration.
Usage
Monolog
-
Monolog/ConsoleLogger - Logging to console
-
Log format:
%datetime% [%level%] %class%→%function%() - %message% %context% %extra%
-
-
Monolog/FileLogger - Logging to a file
-
Monolog/PlainLogger - Sending the output "as it is" to the console (raw)
PHPUnit
-
EasyGoingTestCase - All you need is already prepared, so concentrate on unit tests
Reflection
-
UnavailableFieldsTrait - Get value from unaccessable class fields (aka properties)
-
UnavailableMethodsTrait - Call unaccessable class methods
Examples
Please read some examples.
Project Status
Please read the project status.
Additional Information
-
Composer Commands - New commands for composer
Notice
Reference
(c) 2025 by Oliver Glowa