Download the PHP package oihana/php-logging without Composer
On this page you can find all versions of the php package oihana/php-logging. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-logging
Oihana PHP - Logging

A lightweight, PSR-3 logging toolkit for PHP 8.4+.
📚 Documentation
User guides (FR + EN), with narrative explanations and examples:
| 🇬🇧 English documentation | 🇫🇷 Documentation française |
| Getting started, loggers, managers, traits, processors, enums, tips. | Démarrage, loggers, managers, traits, processeurs, énumérations, astuces. |
Auto-generated API reference (phpDocumentor):
👉 https://bcommebois.github.io/oihana-php-logging
🚀 Features
- 🪵 A PSR-3 compliant, daily-file
Loggerwith message interpolation and global error/exception hooks. - 🧩 A
CompositeLoggerthat broadcasts log calls to many PSR-3 loggers (WeakMap-based auto-cleanup). - 🔄 A Monolog-based rotating-file manager (
MonoLogManager) and a reusableLoggerManagerbase class. - 🧰 Composable logger traits —
LoggerTrait,LoggerManagerTrait,DebugTrait. - ✨ Custom Monolog processors — emoji and symbol level decorators.
- 🧪 Full unit-test coverage ensuring reliability and maintainability.
💡 Designed to be lightweight, testable, and compatible with any PHP 8.4+ project.
📦 Installation
Requires PHP 8.4+
Install via Composer:
✅ Tests & coverage
Run the full unit-test suite (PHPUnit, strict mode):
Run a single test case:
Measure coverage (requires Xdebug or PCOV):
The suite runs in strict mode and targets 100% line coverage.
🧾 License
This project is licensed under the Mozilla Public License 2.0 (MPL-2.0).
👤 About the author
- Author : Marc ALCARAZ (aka eKameleon)
- Mail : [email protected]
- Website : http://www.ooop.fr
🛠️ Generate the Documentation
We use phpDocumentor to generate the documentation into the ./docs folder.
Usage
Run the command :
🔗 Related packages
oihana/php-core– core helpers and utilities used by this library:https://github.com/BcommeBois/oihana-php-coreoihana/php-files– file and path handling utilities:https://github.com/BcommeBois/oihana-php-filesoihana/php-enums– a collection of strongly-typed constant enumerations for PHP:https://github.com/BcommeBois/oihana-php-enums
All versions of php-logging with dependencies
monolog/monolog Version ^3.9
php-di/php-di Version ^7.0
psr/container Version ^2.0
psr/log Version ^3.0
oihana/php-core Version dev-main
oihana/php-enums Version dev-main
oihana/php-files Version dev-main
oihana/php-reflect Version dev-main
oihana/php-schema Version dev-main
oihana/php-traits Version dev-main