News

Laravel Sail adds support for choosing which services you'd like installed

Published
Laravel Sail adds support for choosing which services you'd like installed image

Laravel Sail, a lightweight CLI for interacting with Laravel's default docker environment, recently launched a new update that allows you to choose which services should be configured in your project's docker-compose.yml file. Some of the options include MySQL, PostgresSQL, Redis, Memcached, Meilisearch, Selenium, and Mailhog.

A new with parameter in the installer command determines what services Laravel Sail should include. For example:

curl -s "https://laravel.build/example-app?with=mysql,redis" | bash

If you don't pass the with option, Sail will configure the default stack of MySQL, Redis, Meilisearch, Mailhog, and Selenium, and this new setting gives you more fine-grained control.

For more information on this new option, consult the user guide.

Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Laravel Chores: Resumable Data Operations and Cleanups image

Laravel Chores: Resumable Data Operations and Cleanups

Read article
NativePHP v4: Build Native iOS and Android UI in Blade image

NativePHP v4: Build Native iOS and Android UI in Blade

Read article
Laravel Lock: Distributed Locks for Models and Routes image

Laravel Lock: Distributed Locks for Models and Routes

Read article
Laravel Image Responses: Serve Resized Images From Routes image

Laravel Image Responses: Serve Resized Images From Routes

Read article
Pause All Laravel Queues During a Deploy image

Pause All Laravel Queues During a Deploy

Read article
Laravel Terminal UI for the artisan dev Command image

Laravel Terminal UI for the artisan dev Command

Read article