Compatibility and release-line policy
This package targets the Monolog 3 release line. Package requirements and WordPress-runtime support are described separately because they answer different questions.
Package requirements
Current Composer constraints:
- PHP:
^8.1 - Monolog:
^3.0
If you still use Monolog 2, use the maintained 2.x branch instead of main. To move an existing integration to the Monolog 3 release line on main, follow the upgrade guide on GitHub.
Package CI PHP coverage
Pull-request CI runs runtime smoke checks and PHPUnit on PHP 8.1 through 8.6. That exercises the library outside Docker-based WordPress images.
WordPress smoke jobs use only the tuple list below. PHP 8.6 is covered by package jobs only until official WordPress and WP-CLI images publish a matching php8.6 tag.
WordPress-runtime support
WordPress upstream only officially supports the latest major release. This package maintains a practical support window for WP-CLI users:
- the current and previous WordPress major release series
- only WordPress/PHP combinations that are part of an explicit, tested tuple list
That avoids claiming support for every possible WordPress and PHP combination when only a subset is verified.
Currently tested WordPress/PHP combinations
As of 2026-07-13, the package is smoke-tested against:
- WordPress
7.0on PHP8.4 - WordPress
7.0on PHP8.5 - WordPress
6.8on PHP8.3 - WordPress
6.8on PHP8.4
These tuples are chosen because they satisfy the support policy and have corresponding official WordPress and WP-CLI images available. The list is updated deliberately when upstream support or image availability changes.
Monolog 2 legacy support
The 2.x branch uses PHP ^7.2 || ^8.0 with Monolog ^2.5. Critical fixes may be backported when warranted. New feature development focuses on the Monolog 3 line on main.