// docs

Your first run

Create a connection, run a safe snippet, inspect output, and save it for later.

The first LaraBench run should be small and read-only. Pick a project you know, run a query that reads a few rows, then confirm that output, SQL queries, and run history look right.

  1. Open Connections and add a local, Docker, or SSH target.
  2. Name the connection something obvious, such as My App - local.
  3. Set the environment label to local, staging, or production.
  4. Open Run Code and choose the connection from the selector.
  5. Run a read-only Tinker snippet.
  6. Open the SQL panel if the snippet touched the database.
  7. Save the snippet if you expect to reuse it.
$users = User::query()->latest()->limit(5)->get();

$users->map->only(['id', 'email', 'created_at']);
Run Code shows the editor, connection selector, output, timing, and runner state together.