Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Logger Bundle Laravel Package

aboutcoders/logger-bundle

Symfony bundle exposing a REST API to accept log messages from external apps. Configure allowed application names and map each to a Monolog channel, then POST level, message, and optional context to /api/log/{app}. Integrates with FOSRest and NelmioApiDoc.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Centralized Logging for Microservices/External Clients: Enables logging from non-Symfony applications (e.g., mobile apps, IoT devices, or legacy systems) into a unified Monolog-based system, reducing tooling fragmentation.
  • Observability Roadmap: Accelerates adoption of structured logging for debugging, auditing, or compliance (e.g., GDPR, SOC2) by standardizing log ingestion across heterogeneous clients.
  • Build vs. Buy: Avoids reinventing a REST-based logging API, saving dev time while maintaining flexibility (vs. SaaS solutions like Datadog or custom solutions).
  • Use Cases:
    • Debugging: Capture client-side errors/events (e.g., failed API calls, UI crashes) in a server-side log.
    • Analytics: Log user interactions or system telemetry from external apps.
    • Security: Audit external system actions (e.g., admin dashboards, third-party integrations).

When to Consider This Package

  • Avoid if:
    • Your stack isn’t Symfony/Laravel (or PHP-based) or lacks Monolog integration.
    • You need real-time log streaming (this is batch/REST-based; consider WebSockets or dedicated tools like Loki).
    • High throughput is critical (this isn’t optimized for high-volume logging; evaluate queueing or dedicated services).
    • You require structured logging (e.g., JSON fields) out-of-the-box—this relies on Monolog’s configuration.
    • Active maintenance is a priority (last release: 2018; fork or evaluate alternatives like Symfony’s MonologBridge).
  • Consider alternatives:
    • For modern PHP: ReactPHP + Monolog for async logging.
    • For non-PHP: Use HTTP endpoints (e.g., AWS CloudWatch Logs API) or message queues (Kafka, RabbitMQ).
    • For documentation: Nelmio CORS Bundle if CORS is a blocker.

How to Pitch It (Stakeholders)

For Executives: "This package lets us standardize logging across all our applications—even those not built with our core stack—by exposing a simple REST API. It’s like giving every app a ‘phone line’ to our central logging system (Monolog), which we already use. This reduces debugging time, improves security audits, and avoids vendor lock-in. The trade-off? Minimal maintenance (last updated 2018), but we can mitigate that by wrapping it in our own service layer or forking it. Upfront cost: ~2 dev days to integrate; long-term savings: fewer tools, better visibility."

For Engineering: *"The AbcLoggerBundle provides a drop-in REST API to log messages from external clients into Monolog. Key pros:

  • Zero reinvention: Handles auth (via Symfony security), routing, and Monolog integration.
  • Flexible: Configure per-app log channels (e.g., mobile_errors.log, iot_telemetry.log).
  • Extensible: Works with existing Monolog handlers (files, databases, syslog). Cons:
  • Outdated: Last release is 2018; we’ll need to test stability or fork.
  • No built-in rate limiting: Add a firewall or API gateway layer if needed. Recommendation: Pilot with 1–2 non-Symfony apps (e.g., a React frontend or Python script) to validate the workflow before rolling out broadly."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor