koderhut/onelog-bundle
Symfony bundle that integrates OneLogin's PHP SAML toolkit, adding SAML 2.0 service-provider authentication, configurable identity providers, attribute mapping, and firewall-based single sign-on to Symfony applications. It simplifies SSO setup through bundle configuration.
stack channel, Monolog handlers/processors) or introduce a third-party façade layer? The 1.2.0 middleware addition is the strongest argument for the pattern and, simultaneously, evidence we should implement it in-house — Monolog already ships processors/StackHandler for exactly this.StackHandler/WhatFailureGroupHandler, Psr\Log processors, and Laravel's channel stacking cover ~90% of the use case with zero new dependency risk. The middleware/pre-processing concept in 1.2.0 maps cleanly onto Monolog processors; that is a ~100–200 line in-house addition we would own, not a reason to adopt.Adopt only under a narrow, low-stakes set of conditions:
Look elsewhere — decisively — if any of the following hold:
config/logging.php with the stack channel plus Monolog processors for enrichment; this bundle's container idioms do not transfer, and a Laravel adapter would be your code to own.composer.json PHP constraint before treating the dormancy flag as cleared.StackHandler. These give you enrichment, trace correlation, sampling, and a support contract.Verdict: not recommended for adoption. The prior score of 0.235 was driven by maintenance and framework-fit signals, neither of which 1.2.0 materially changes — the release adds a useful capability but no supportability. Treat as a design reference only; note "feature release after dormancy, re-evaluate cadence in 2 quarters" rather than closing the file outright.
Executives: This is a diligence finding, not a proposal. The package addresses a genuine need — one logging interface across multiple destinations, with a hook to enrich messages before they fan out — and a new 1.2.0 release adds that enrichment middleware. But the maintenance picture is unchanged: one feature release after years of dormancy, one star, no downstream users, no security process, and it targets Symfony rather than our Laravel stack. Adopting it would transfer patch and support responsibility to us for no functional gain over what the framework and our APM vendor already provide. Recommendation: do not adopt; keep the evaluation closed but flagged for a cadence re-check in two quarters, since a single release is not yet a maintenance signal either way.
Engineering: The capability is already in the stack, and 1.2.0 validates the design rather than changing the decision. For enrichment, use Monolog processors (or a small custom processor) ahead of Laravel's stack channel; for correlation and sampling, layer OpenTelemetry or our APM SDK. If we need async delivery to Slack/PagerDuty-style sinks, use a buffered handler or a log sidecar — the new middleware does not add buffering, retries, or backpressure, and it still runs in-process ahead of a synchronous fan-out. If the middleware chain is a useful pattern, copy the concept — a ~200-line reference we own outright — not the dependency. Concrete check before any future re-evaluation: confirm the release ships tests, a PHP version constraint, and a changelog.
Ask: No budget, no dependency. One decision — ratify "framework-native logging + processors + OpenTelemetry" as the standard, and add a maintenance-signal gate to the dependency review checklist (last release and release cadence, dependents, maintainer count, security policy, supported PHP matrix) so candidates get filtered before they reach roadmap discussion. Also amend the gate wording: "a recent release" only counts as a positive signal when paired with evidence of ongoing cadence.
How can I help you explore Laravel packages today?