To TinkerRun any PHP or Laravel code in one click from VS Code by using To Tinker is a VS Code extension that lets you run selected PHP, full files, and class methods without leaving the editor. It uses Laravel Tinker under the hood so you can execute real application code fast, with less setup and less context switching. Why this existsMost Laravel developers eventually do the same awkward loop:
To Tinker exists to remove that friction. It gives you a one-click way to run PHP and Laravel code directly from VS Code while still using Laravel Tinker as the execution path. ✂️ Run selectionsUse it when you want to try a query, inspect a value, test a small snippet, or poke the container without building temporary scaffolding. 📄 Run filesUse it when a quick experiment becomes bigger than a snippet and you want a repeatable scratch script tied to your Laravel app. 🧠 Run methodsUse it when you want to execute a class method faster than wiring up a temporary route, command, or test harness just to reach that code path. 🛡️ Safety modelSandbox is partial, not full isolation.
Use |