arnested/psr3-journald

PSR-3 logging to systemd's journald

dev-main 2024-12-02 15:39 UTC

README

An experimental PSR-3 compatible logger logging (structured) data to Journald.

Requirements

This library requires PHP 8.1 or later.

FFI is supported from 7.4 and is used to write to Journald.

You also need to have systemd on the machine.

Usage

See example.php.