// docs
Local project connections
Run snippets against a Laravel project folder on your machine.
Use a local project connection when the Laravel app boots directly on your machine. This works well for plain local apps, Herd, Valet, and any setup where your host PHP can run Artisan from the app directory.
- Open Connections.
- Choose Local project.
- Select the Laravel project folder.
- Choose the environment label.
- Test the connection.
- Use the connection from Run Code or Benchmark.
What LaraBench runs
For snippets, LaraBench runs code through Laravel rather than as isolated PHP. That means your service container, models, config, database connections, and helpers are available in the same context your app uses.