Weave 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
Jlog Bundle

Jlog Bundle Laravel Package

johndodev/jlog-bundle

johndodev/jlog-bundle is a lightweight logging bundle for PHP applications, making it easy to capture, organize, and review log events with minimal configuration. Integrate structured logging into your project quickly and keep runtime diagnostics simple.

View on GitHub
Deep Wiki
Context7

Easy logging.

Frequently asked questions about Jlog Bundle
Does johndodev/jlog-bundle work with Laravel?
No, not in any meaningful sense. The package is a Symfony bundle that registers via config/bundles.php and ships a Twig extension plus a published JS asset, none of which Laravel can consume. Laravel has no bundle registration mechanism and no Twig, so forcing it would require a bridging service provider and config translation for a feature you can write yourself. The practical framing is port the idea, don't install the dependency.
Is jlog-bundle a PSR-3 structured logging library like Monolog?
Its description claims PSR-3 compatibility, structured output, and configurable handlers, but the described implementation is a Twig extension that dumps server-side values to the browser console. Those are two different products with two different value propositions, and the package's own positioning does not match its behavior. Even taken at face value as a PSR-3 logger, it would be redundant with Monolog, which Laravel already ships and configures through config/logging.php.
How do I install jlog-bundle in a Laravel application?
There is no supported installation path. The bundle requires manual registration in a Symfony bundles array plus an asset install step, and it has no Laravel package auto-discovery. You would be hand-writing a service provider adapter around Symfony-specific code just to reach a debug helper. Given the substitute is roughly 40 lines, the integration cost outweighs the benefit.
What does jlog-bundle actually do?
Based on the implementation notes, it surfaces server-side values in the browser console rather than in the HTML response. That makes it a debug and inspection aid for multi-step forms, POST handlers, and middleware, not a logging layer for audit trails or production monitoring. Any assessment built only on the README is unreliable here, so reading the source is mandatory before you rely on either interpretation.
Is jlog-bundle safe to use in production?
The function is debug-only, so containment risk is low if you gate it behind an environment check for local and staging only. That gate should be a hard requirement in any spec, not a nice-to-have, because the package dumps server-side payloads into client-visible output. With the environment check in place it cannot touch production request paths, audit trails, or PII flows.
What are the alternatives to jlog-bundle in Laravel?
For dumping values without breaking the response, Laravel already gives you dump(), the var-dumper browser console handler, Telescope, and tools like Ray. The genuinely useful idea in jlog-bundle is narrow: emit debug payloads to the browser console so the response still renders and you keep your session, CSRF token, and client-side state. That idea is cheap to reproduce in a Laravel app with a singleton binding, a Blade directive, a config flag, and a Vite-built JS asset.
Can I build jlog-bundle's console dumping myself in Laravel?
Yes, and it is about 40 lines of code. The recipe is a singleton binding, a Blade::directive('jlog', ...) that emits the payload, a config flag restricted to local and staging, and a Vite-built JS asset that writes to console. That gets you the same debugging benefit with no third-party Symfony components and no supply-chain exposure. Because the substitute is that small, the adoption bar for the package is effectively unreachable.
Will jlog-bundle conflict with Laravel's pinned Symfony dependencies?
It is a realistic Composer resolution failure, not a theoretical one. A Symfony bundle pulls Symfony components that may collide with the versions Laravel has pinned. Before any spike, check which Symfony packages and version constraints the bundle requires against your Laravel version's locked dependencies.
Is jlog-bundle actively maintained?
The signals are poor: zero stars, zero dependents, no CI evidence, and no named maintainer with a public track record. There are no downstream users to learn integration patterns from and no reliable release or issue history to point to. Abandonment risk is high, and the package's ambiguous positioning makes README-only evaluation unsafe.
How does jlog-bundle handle large objects or circular references?
That is unverified and belongs on your source-read checklist. The published JS asset may assume jQuery or a specific DOM lifecycle, and how it serializes payloads with circular references or large objects is not established by the description. If you reproduce the pattern yourself, you control the serializer and can cap payload size and handle circular structures explicitly.
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.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo