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

Console Log Laravel Package

leanadmin/console-log

A Laravel package for sending server-side debug messages and variables directly to the browser console. Use simple helpers to inspect PHP data in DevTools without interrupting your app, making local debugging faster and easier.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Observability strategy for CLI/async work. Informs whether "just write logs to stdout" is sufficient for Artisan commands, queue workers and scheduled jobs — or whether you need a real log pipeline (Logstash/Datadog/CloudWatch). This package is the cheap end of that spectrum.
  • Build vs. buy (vs. don't build). A ~single-purpose Monolog handler/wrapper sits in the "a few hours of engineer time to replicate" band. Its existence tips the default toward buy/adopt, but the pre-1.0 status means the honest alternative is often "20 lines of custom channel config."
  • 12-factor / container deployment decisions. Supports the choice to emit application logs to stdout/stderr so Docker, Kubernetes, Fly.io, Forge or Lambda platform collectors can pick them up, instead of managing log files inside containers.
  • Developer-experience roadmap items. "See application logs in the terminal while running commands/tests" is a recurring DX ask; this is a low-cost way to close it without new infrastructure or spend.
  • Framework-version support matrix. v0.1.4 dropping Laravel 8 is a forcing function for the roadmap question "which Laravel versions do our services need to support?" — if any service is still on L8, adopting this package now creates a pin.
  • Not a customer-facing feature. Weight it as internal tooling: near-zero roadmap visibility, near-zero revenue attribution, so it should be justified on engineering time saved, not product narrative.

When to Consider This Package

Consider it when:

  • You're on Laravel 9+ / PHP 8.x (v0.1.4 explicitly removed Laravel 8 support and adjusted dependencies — L8 users are now pinned to v0.1.3 and off the upgrade path).
  • You want application logs surfaced on stdout/stderr from artisan commands, queue workers or containers, and you don't want to maintain a custom Monolog handler.
  • The logging need is plain, human-readable, low-volume — developer ergonomics and basic ops visibility.
  • You're comfortable with 0.x semver: minor bumps may carry breaking platform changes, and there's no 1.0 stability commitment.
  • The integration can be isolated to a logging channel / single provider registration, so removal cost stays measured in hours.

Look elsewhere when:

  • You're still on Laravel 8 or an older PHP — this release ends that support; adopting means freezing a version on day one.
  • You need structured JSON, field redaction/PII scrubbing, sampling, buffering, retry, or multi-destination routing — use first-party Monolog handlers or a vendor SDK (Datadog, Sentry, Papertrail) instead.
  • You need SLA, security review, long-term maintenance guarantees, or an auditable release process — a pre-1.0 package with a small maintainer surface won't clear that bar.
  • Throughput is high and stdout backpressure/blocking is a real risk; you want an async, non-blocking pipeline.
  • The team already standardises on a centralised logging stack — adding a second path fragments the story.

How to Pitch It (Stakeholders)

For executives (30 seconds): This is a small, free, open-source developer/ops utility for our Laravel services. It makes application and command logs show up directly in the terminal and in container output, which removes ad-hoc logging code and one class of "where did that error go?" debugging time. There is no licence cost, no infrastructure spend and no customer-facing surface. The risk is also small: it's a pre-1.0 package from a known Laravel contributor, and backing it out is a few hours of configuration work. Recommendation: approve a short trial, not a strategic commitment.

For engineering leads: Treat it as a convenience layer over Monolog. Validate in a spike: install, point one non-critical service's logging channel at it, confirm output shape and behaviour under queue workers and containers, and pin the exact version (v0.1.4 or later). Note the new compatibility floor — v0.1.4 removed Laravel 8 support and reworked dependencies, so this is now a Laravel 9+ package; if any service is on L8, it stays on v0.1.3 and should be tracked as a deliberate exception. Add the package to the framework-upgrade checklist and the dependency-review cadence, since 0.x minor releases can break: watch for a 1.0 before treating it as a default.

Positioning to avoid: don't sell this as an observability platform or a compliance-grade audit log. It's a DX and stdout-plumbing convenience — pitch it that way and the expectations stay matched to the reality of a 0.1.x package.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource