vluzrmos/tinker
Tinker brings an interactive PHP REPL to Laravel via PsySH, adding the artisan tinker command so you can experiment with your app's code, test Eloquent queries, and inspect objects from the terminal without writing throwaway routes or scripts.
php artisan tinker-style) inside our app, or do we keep dumping to logs?" The decision is less about whether the capability is valuable — it clearly is — and more about whether you take a dependency to get it or write ~50 lines of service-provider glue around PsySH yourself. Given the package is abandoned, the realistic answer is: copy the pattern, own the code.Consider the pattern (not necessarily the package as a dependency) when:
var_dump/log-based debugging.require-dev dependency only, absent from production builds, and never enabled in a deployed environment.Look elsewhere — or stop — when:
tinker; do not start a Lumen service in order to use a Lumen-only tool.Executive summary: This is a small, low-cost developer-productivity tool that gives engineers an interactive console inside our Lumen application, cutting the time spent diagnosing data and configuration issues. The capability is worth having; this particular package is not something we should depend on. It was abandoned in 2018, has no downstream dependents, and receives no maintenance or security updates. The right move is to reproduce its functionality in-house — the work is measured in hours, not sprints — and to treat that as a tactical patch while we plan the Lumen-to-Laravel migration, where an equivalent console ships first-party and maintained.
For engineering: Adopt the pattern, not the dependency. Vendor or rewrite the service-provider binding and gate registration to non-production environments via config and environment checks. Pin PsySH deliberately and add a smoke test so the console binding cannot silently rot. Log a follow-up to delete the shim once the service moves to Laravel.
Recommendation: Do not add vluzrmos/tinker to any product we intend to keep. Use it as a reference implementation, budget roughly half a day of engineering to own an equivalent in-house, and use the gap it exposes as supporting evidence for scheduling the framework migration.
How can I help you explore Laravel packages today?