Tinker

Tinker,
with an editor.

Write PHP, press Ctrl Enter and it runs inside your booted Laravel app. Read dumps or JSON with the time it took, the memory it used and the queries it ran.

Larvyn's Tinker editor with an Eloquent query and its result

Timing, memory, queries

Every run tells you how long it took, how much memory it used and how many queries it made.

Snippets and history

Save the queries you run every week, and get back the one you ran an hour ago.

From the palette

Type PHP in Ctrl K and Larvyn runs it in Tinker.

Questions

Is it Laravel Tinker?

It runs your PHP inside your booted Laravel app, like php artisan tinker, with an editor instead of a one-line prompt.

Can I run code on a remote server?

No. Larvyn runs code in your local project. For SSH, Docker or Vapor, a dedicated code runner such as Tinkerwell fits better. See Larvyn vs Tinkerwell.

Can I run PHP from the command palette?

Yes. Type a line that looks like PHP in Ctrl K, such as Order::count(), and it runs in Tinker.

Try an Eloquent query in ten seconds.

Larvyn is free, with no account. Install it with one command and add a folder.