beyondcode/tinkerwell-helper
Beyond Code's companion package for Tinkerwell, the desktop code runner for PHP and Laravel. It adds convenient Laravel helpers and integrations so you can execute and debug code in your application's context with less setup.
tinker/PsySH vs. a GUI REPL like Tinkerwell vs. in-browser inspection like Telescope or Clockwork, or in-editor debugging with Ray + PhpStorm/Xdebug. This package only matters to the Tinkerwell branch of that decision tree; it is the glue that determines whether that branch is actually taken.Adopt when:
--dev Composer dependency, one Artisan command, zero production surface, no migrations, no config, no secrets.composer.json beats a wiki page nobody reads.Look elsewhere when:
php artisan tinker cover different needs without a paid desktop dependency.tinkerwell:// deep-link handoff, and inside a container or remote host that scheme resolves where no handler exists — the command silently no-ops rather than failing instructively.Evaluation gate — questions worth answering before committing:
For executives (30 seconds):
This is a tiny, free, open-source convenience package that lets developers open our Laravel projects in Tinkerwell — the desktop REPL we may already license — with one command. It ships only to developer machines, is never loaded in production, costs nothing beyond any licenses we already hold, and can be removed with a single line from composer.json. The upside is modest but real: less friction in day-to-day debugging and a faster ramp for new engineers. The downside is bounded by the fact that it is a ~1-file wrapper — if the maintainer walks away, replacing it is an afternoon, not a project.
For engineering leads:
require-dev Composer package that adds an Artisan command handing the current project path to the Tinkerwell desktop app. No production service-provider magic, no migrations, no config, no runtime cost. It sits alongside PHPUnit, Pint, and Larastan in the tooling layer and should be governed as such.composer remove --dev with no residue; verify the deploy pipeline builds with --no-dev so it never lands in a production artifact.artisan tinker, Telescope, Ray, PhpStorm + Xdebug), not smuggled in as a Composer one-liner.composer.lock, and do not let it become load-bearing. Explicitly exclude it from CI, pipeline scripts, scheduled tasks, and any agent or automation path.How can I help you explore Laravel packages today?