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

Psysh Bundle Laravel Package

theofidry/psysh-bundle

A Symfony bundle that integrates PsySH, bringing an interactive PHP REPL and debugger to your console. Inspect variables, experiment with code, and debug applications without leaving your terminal. Easy to install and configure.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Developer experience / onboarding investment: an interactive REPL inside the framework console is a genuine productivity lever for new hires, support engineers, and anyone exploring unfamiliar domain data. This package is a data point in the "how much do we invest in console tooling?" conversation — but it argues for investing in the capability, not in this dependency.
  • Build vs. buy vs. adopt-nothing: the capability is already commoditized upstream. PsySH itself ships Symfony-aware shells, laravel/tinker covers the Laravel side, and modern Symfony applications can wire PsySH in a handful of lines. The correct decision here is "adopt nothing new," not "build."
  • Dependency hygiene / roadmap risk: archived upstream, last release December 2021, zero dependents in the ecosystem. That is a signal for the platform or architecture owner to add a guardrail ("no archived packages in the runtime dependency graph") rather than a feature decision.
  • Non-production tooling scope: if the org wants a REPL for staging sandboxes, incident triage, or demos, scope it explicitly to non-production environments. REPL access in production is a code-execution and data-exfiltration surface, and an unmaintained bundle should never be the thing standing between an attacker and eval.
  • Support/legacy triage: if a legacy Symfony service already depends on this, this assessment supports a small, scheduled migration ticket rather than an open-ended maintenance burden.
  • Use cases worth documenting for the team: exploratory queries against seeded data, debugging container/service wiring, one-off data corrections in sandboxes, and onboarding walkthroughs — all achievable with the native path.

When to Consider This Package

Consider it only if all of the following hold:

  • The application is a Symfony codebase (this is a Symfony bundle; it is not the Laravel story — for Laravel the answer is laravel/tinker, full stop).
  • You are pinned to an older Symfony major where bundle-style auto-configuration of PsySH saves real setup effort, and the surrounding dependency graph is already frozen.
  • The use is internal, non-production, and short-lived — a spike, a workshop environment, a throwaway diagnostic tool.
  • You have no maintenance, security-review, or SLA requirement that a 2021-era archived package would fail.
  • Someone has confirmed the bundle still resolves against your current PHP and Symfony constraint set — archived packages age out silently as PHP minors move.

Look elsewhere — and you almost certainly should:

  • Laravel projects: laravel/tinker is first-party, maintained, and already installed in most apps. There is no reason to port a Symfony bundle into a Laravel app.
  • Symfony 6/7+: install psy/psysh directly and register the shell yourself. You trade a composer line for full control over the version you pin and the environment guards you enforce.
  • Anything production-adjacent, anything covered by a compliance or SBOM policy, or anything where "who do we ask when this breaks?" needs an answer.
  • Teams standardizing on maintained dependencies: an archived repo with a single-digit-opportunity score offers no differentiation over the upstream tool it wraps. You are accepting maintenance risk to save a config block.

Honest read of the signals: 207 stars and near-zero dependents on a package that wraps a well-known upstream tool says this never became load-bearing for anyone. Treat it as a historical artifact, not a candidate.

How to Pitch It (Stakeholders)

Executive summary. This package adds an interactive PHP console (a REPL) to Symfony applications, so engineers can poke at live objects, services, and data instead of writing throwaway scripts. The capability is valuable for developer productivity and debugging speed. This specific package is not something I recommend adopting.

Why not. It is archived, its last release was December 2021, and it has effectively no downstream users. Everything it does is now available from the tools it wraps: PsySH ships Symfony-aware shells, and Laravel has first-party Tinker. Adopting it would mean taking on an unmaintained dependency — with no security patching and no upgrade path — to avoid roughly a few lines of configuration.

Recommendation. No new adoption. Where teams want a REPL, standardize on the native path per framework (laravel/tinker for Laravel; psy/psysh wired directly for Symfony), and restrict REPL availability to non-production environments by policy. If any service already pulls this bundle in, raise a small migration ticket to replace it with the native equivalent — the effort is low and it removes a stale dependency from our audit surface.

Cost and risk. Migration cost is low (configuration-level, not application logic). The risk we avoid is the quiet kind: an archived package that stops installing on a future PHP upgrade and surfaces as a broken build at the worst possible moment.

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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib