Download the PHP package jardisadapter/logger without Composer
On this page you can find all versions of the php package jardisadapter/logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jardisadapter/logger
More information about jardisadapter/logger
Files in jardisadapter/logger
Package logger
Short Description PSR-3 logging pipeline with 20+ handlers, 7 formatters, 6 enrichers, and fluent builder API; a building block of the open-source foundation that Jardis-generated DDD code runs on
License MIT
Homepage https://jardis.io
Informations about the package logger
Jardis Logger
Part of Jardis — the Domain-Driven Design platform for PHP. You model your domain; Jardis generates the production-ready hexagonal code (DTOs, Command/Query handlers, repositories, persistence). This package is part of the open-source foundation that generated code runs on.
A PSR-3 logger for PHP with a pipeline of 20+ handlers, 7 formatters, and 6 enrichers. Configure everything through a fluent LoggerBuilder — the resulting Logger is immutable after construction. Smart handlers for production: LogFingersCrossed buffers until an error occurs, LogSampling reduces noise at high volume, LogConditional routes by content. One LoggerBuilder context per bounded context keeps logs cleanly separated.
Features
- 20+ Handlers — File, Console, Slack, Teams, Redis, Kafka, RabbitMQ, Loki, Database, Email, Webhook, Syslog, and more
- Smart Handlers —
LogFingersCrossed(buffer-on-error),LogSampling(volume reduction),LogConditional(rule-based routing) - Fluent Builder —
LoggerBuilderchains handler registration;getLogger()returns an immutableLogger - Auto-Enrichment —
LogDateTime,LogUuid,LogMemoryUsage,LogMemoryPeak,LogClientIp,LogWebRequestadded per handler - 7 Formatters —
LogJsonFormat,LogLineFormat,LogHumanFormat,LogSlackFormat,LogTeamsFormat,LogLokiFormat,LogBrowserConsoleFormat - Named Handlers — Retrieve any handler at runtime via
$logger->getHandler('name') - Error Resilience — One failing handler never stops the others; optional error callback via
setErrorHandler() - Context Separation — Each
LoggerBuilderinstance scopes its handlers to a named bounded context
Installation
Quick Start
Advanced Usage
Documentation
Full documentation, guides, and API reference:
docs.jardis.io/en/adapter/logger
License
This package is licensed under the MIT License.
Jardis · Documentation · Headgent
AI-Assisted Development
This package ships with a skill for Claude Code, Cursor, Continue, and Aider. Install it in your consuming project:
More details: https://docs.jardis.io/en/skills
All versions of logger with dependencies
psr/container Version ^2.0
psr/log Version ^3.0
ext-pdo Version *
jardissupport/dotenv Version ^1.0