php artisan tinker
or herd tinker
, Herd provides a convenient button in the actions column in the sites settings as well as a global shortcut that instantly opens the active project automatically.
herd tinker
, click the button in the site settings or press the global shortcut and Herd detects Tinkerwell on your machine, Tinkerwell opens a new tab with the most recent Herd project automatically.
This allows you to quickly iterate on complex Eloquent queries or debug some code. It also provides autocompletion and a familiar multi-line code editor experience that goes beyond a simple REPL.
Tinkerwell ships with support for all of Herds PHP versions and automatically loads the correct configuration files.