spatie/laravel-web-tinker
Adds Laravel’s Tinker REPL to your browser via a protected route, making it easy to run and tweak code without the terminal. Includes light/dark UI and simple install/publish commands. For local/dev only—can execute arbitrary code.
/dev dashboard) as a self-service tool.Adopt if:
Look elsewhere if:
For Executives: "This package lets our Laravel developers debug and prototype directly in their browsers—no terminal needed. It’s like giving them a ‘playground’ for PHP code, which speeds up fixes for issues like database queries or API edge cases. Since it’s open-source and maintained by a trusted team (Spatie), it’s a low-risk way to boost developer productivity. We’d use it in staging/local environments only, with no impact on production."
For Engineering Teams:
*"Web Tinker replaces php artisan tinker with a browser-based interface, cutting context-switching time. Key benefits:
/tinker’).composer require spatie/laravel-web-tinker --dev), and it works out-of-the-box with Laravel’s PsySH. Let’s trial it in our next sprint for debugging database migrations—it could save hours on manual CLI work."*For Developers:
*"Imagine running User::where(...)->get() or testing a new middleware without opening a terminal. Web Tinker brings Tinker to your browser with:
/tinker in your local app.
Perfect for quick tests, onboarding, or when you’re stuck in a ‘no terminal’ environment. Try it after our next PR merge—it’s a game-changer for Laravel devs."How can I help you explore Laravel packages today?