Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Sail

laravel/sail image

Sail stats

Downloads
59.5M
Stars
1,423
Open Issues
0
Forks
439

View on GitHub →

Docker files for running a basic Laravel application.

Laravel Sail Package Summary

Laravel Sail is a Docker-based tool designed to simplify the local development environment setup for Laravel projects. It works seamlessly on macOS, Windows (via WSL2), and Linux platforms. This package allows developers to leverage Docker's capabilities without needing extensive Docker knowledge, thanks to its straightforward CLI.

Key Features

  • Ease of Setup: Requires only Docker to be installed on the local machine, eliminating the need for additional software or libraries.
  • Cross-Platform Compatibility: Works consistently across macOS, Windows (WSL2), and Linux.
  • Simple CLI: Provides a user-friendly command-line interface that simplifies Docker container management.

Installation and Usage

Laravel Sail is integrated by default in Laravel projects starting from Laravel 8.x. For existing projects or earlier versions, you can install Sail via Composer:

composer require laravel/sail --dev

After installation, you can start the Docker environment using:

./vendor/bin/sail up

Further commands and configurations can be found in the detailed official documentation.

Additional Resources

  • Inspiration: Sail is inspired by Vessel and offers an accessible path to Docker through resources like the Shipping Docker course by Chris Fidao.
  • Contributing: Contributions are welcome, with guidelines available here.
  • Code of Conduct: Participants are expected to adhere to the community Code of Conduct.
  • Security: For reporting security vulnerabilities, refer to the security policy.

License

Laravel Sail is released under the MIT license, making it free and open-source software.

This package is an excellent choice for developers looking for a hassle-free way to manage Laravel applications in a Docker environment, enhancing productivity and ensuring consistency across development teams.

laravel photo

Laravel is a web ecosystem full of delightful tools that are supercharged for developer happiness and productivity.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Laravel Sail Related Articles

Pest Adds withHost for Browser Testing Subdomains in Laravel image

Pest Adds withHost for Browser Testing Subdomains in Laravel

Read article
Laravel launches an OSS Advent Calendar image

Laravel launches an OSS Advent Calendar

Read article
Laravel on any Developer Machine with Gitpod image

Laravel on any Developer Machine with Gitpod

Read article
Octane Now Supports FrankenPHP Linux ARM Builds image

Octane Now Supports FrankenPHP Linux ARM Builds

Read article
Support for Bun lands in Laravel Sail and Forge image

Support for Bun lands in Laravel Sail and Forge

Read article
Take part in the State of Laravel Survey 2023 image

Take part in the State of Laravel Survey 2023

Read article
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
SerpApi logo

SerpApi

Access real-time search engine results through a simple API—no more scraping headaches! Use it for AI applications, SEO tools, product research, travel information, and more

SerpApi
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell