Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arnested/psr3-journald

PHP PSR-3 logging to `systemd`s `journald`
https://github.com/arnested/psr3-journald

experimental ffi hacktoberfest journald logger php psr-3 psr3 systemd

Last synced: about 2 months ago
JSON representation

PHP PSR-3 logging to `systemd`s `journald`

Awesome Lists containing this project

README

        

# PSR-3 logger for Journald

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

## Requirements

This library requires PHP 7.4 because it uses
[FFI](https://www.php.net/manual/en/class.ffi.php) to write to
Journald.

You also need to have systemd on the machine.

## Usage

See [example.php](example.php).