// docs

Laravel Sail and Laradock

Connect LaraBench to common Laravel Docker development setups.

Sail and Laradock both work best through Docker connections. The important part is choosing the container that has PHP, Composer, and access to the Laravel app directory.

Laravel Sail

For Sail, use the application container and the app path inside the container. In many projects that path is /var/www/html, but check your docker-compose configuration if it differs.

Laradock

For Laradock, the workspace container is usually the right target because it can run php artisan from your mounted project path.

docker ps

docker exec -it laradock-workspace-1 php artisan about