// docs

Installation

Install LaraBench on macOS, Windows, or Linux, then add your first Laravel connection.

LaraBench is available for macOS, Windows, and Linux. Use the download buttons on the website to get the latest release.

What you need

  • A Laravel project you can run locally, inside Docker, or over SSH.
  • PHP available in the environment where the project runs.
  • For local project autocomplete, a local copy of the Laravel app helps LaraBench read your project models and symbols.
  • For Docker connections, Docker must be running and the target container must be reachable with docker exec.
  • For SSH connections, you need a host, user, app path, and a key or SSH agent setup that can connect from your machine.

After installing

  1. Open LaraBench.
  2. Go to Connections.
  3. Create a local project, Docker, or SSH connection.
  4. Set the Laravel app path and environment label.
  5. Test the connection.
  6. Open Run Code, pick the connection, and run a small read-only snippet.
User::query()->limit(3)->get(['id', 'email']);