// 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.
- Open Connections and add a local, Docker, or SSH target.
- Name the connection something obvious, such as My App - local.
- Set the environment label to local, staging, or production.
- Open Run Code and choose the connection from the selector.
- Run a read-only Tinker snippet.
- Open the SQL panel if the snippet touched the database.
- Save the snippet if you expect to reuse it.
$users = User::query()->latest()->limit(5)->get();
$users->map->only(['id', 'email', 'created_at']);