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

Laravel Service Provider Laravel Package

php-console/laravel-service-provider

Integrates php-console with Laravel by registering the console as a service provider, so you can build and run custom CLI commands using Laravel's container, config, and Artisan-style workflow.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Developer-experience (DevEx) tooling investment. The package is a thin Laravel service-provider wrapper that wires Barbushin's PHP Console into a Laravel 4/5 app so developers can surface PHP errors, dump() variables, and execute PHP remotely inside a Chrome extension panel. The product decision it informs is whether to fund browser-integrated, zero-config debugging versus the current default stack (Xdebug + IDE, Laravel Telescope, Ray, Clockwork, Laravel Debugbar). It is a DevEx convenience purchase, not a customer-facing capability — no revenue lever, no user-visible surface.
  • Build vs. buy vs. fork. With 73 stars, 0 dependents, and no release since 2015-06-30, there is no ecosystem gravity to inherit. The realistic options are: (a) adopt as-is, (b) fork and maintain in-house, (c) build a small equivalent service provider, or (d) buy/license a maintained alternative. This package is the benchmark for "what the capability looks like," not the answer.
  • Roadmap and framework-upgrade gating. The package is pinned to Laravel 4./5.. Adopting it is a de facto commitment to stay on an end-of-life framework, which then blocks the Laravel 6→11 upgrade path. That makes it a roadmap blocker, not a roadmap item — relevant when scoping modernization work and estimating the cost of technical debt.
  • Use cases worth naming. Legacy Laravel 4/5 maintenance windows; short-lived forensic triage on an inherited app; internal demos/training of the remote-dump workflow; reading the code as a reference implementation for registering error and dump handlers in a service provider.
  • Dependency and security-risk posture. "Execute PHP code remotely from a browser extension" is an explicit remote-code-execution surface by design. The decision it forces is whether any environment beyond a developer's local machine may ever have this registered — and what guardrails (env checks, IP allowlists, disabled-by-default) would be non-negotiable.
  • Vendor/ecosystem diligence. BSD-3-Clause is permissive and fork-friendly, so the legal path is clear; the operational path is not. The absence of dependents and the decade-old last release mean the maintenance risk is entirely ours.

When to Consider This Package

Consider it only when all of the following hold:

  • You are actively maintaining a Laravel 4.x or 5.x application that cannot be upgraded in the planning horizon.
  • The team already standardizes on the PHP Console Chrome extension, so the marginal training cost is near zero.
  • The scope is strictly local development or an isolated, non-routable staging box — never production, never internet-facing.
  • The need is transient (days to weeks of triage), not a permanent part of the toolchain.
  • You treat it as a reference implementation to copy patterns from into an in-house provider, rather than as an installed dependency.

Look elsewhere when any of these are true:

  • The app is Laravel 6+ — the service providers target APIs that no longer exist.
  • You need PHP 8 compatibility, security patches, or any form of vendor support. There have been no releases in roughly a decade.
  • The environment is shared, staging-accessible, or production. The remote-execution endpoint is a genuine attack surface if it leaks outside a laptop.
  • The team is already productive with Xdebug/PhpStorm, Ray, or Laravel Telescope — the incremental value of a browser extension panel over a step debugger is low, and the maintenance cost is not.
  • You want error aggregation and alerting rather than error display: Sentry, Bugsnag, or Flare are the correct category.

Maintained alternatives to evaluate instead: Laravel Telescope (first-party, request/query/exception inspection), Spatie Laravel Ignition (first-party error page with runnable fixes), Ray (paid, low-friction dump target), Clockwork and Laravel Debugbar (in-browser request profiling), Symfony VarDumper for dump()/dd() ergonomics, and Xdebug for stepping. Most of these cover 80–100% of the original use case with active maintenance.

How to Pitch It (Stakeholders)

For executives (30 seconds). This is a free, decade-old developer convenience for an end-of-life version of our framework. It has 73 GitHub stars, zero dependent projects, and no release since mid-2015. It is not a strategic asset and not a platform decision — it is a small internal productivity tool that has been abandoned upstream. My recommendation is do not adopt. If a team needs this capability, the replacement is either free and first-party (Laravel Telescope, Ignition) or a modest license (Ray), and migrating costs a few developer-hours. The real cost of adopting this package is not the license — it is the framework upgrade debt it quietly creates, plus a remote-code-execution surface we would have to police forever. Ask: approve no budget; note it as archived reference material.

For engineering leads. The functional value is real but narrow: errors and dump() output rendered in a Chrome panel instead of the page, plus a remote PHP eval REPL for poking at a running app. That is genuinely pleasant on a laptop. The problems are structural. The providers bind to Laravel 4/5 internals; PHP Console's browser-extension model predates modern DevEx tooling; and the remote-execution route is an RCE-by-design feature that must be hard-gated to APP_ENV=local and ideally never registered at all outside a developer machine. BSD-3-Clause means we can legally fork it if we ever want the pattern, but forking an unmaintained 2015 codebase to keep a debugging nicety alive is a poor use of engineering time.

For security review. Flag: remote PHP execution initiated from a browser extension. Any consideration of this package should come with an explicit control — environment gate, disabled by default, never deployed to shared or internet-reachable hosts, and removal from the dependency manifest before any staging-to-production promotion pipeline runs.

Bottom line for the decision log. Reject for adoption; retain as a reference implementation. The capability it provides is worth having; this artifact is the wrong way to get it in 2024+. Direct the team to Telescope/Ignition/Ray, and if anyone wants the specific remote-dump ergonomics, spend the half-day wiring dump() to a maintained sink rather than resurrecting a 2015 dependency.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
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