Laravel Sail

Laravel Sail

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

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.


Share

Andrea

Andrea