New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

uselagoon/sailonlagoon

Sail on Lagoon
2,848 3
Install
composer require uselagoon/sailonlagoon
Latest Version:v0.3.0
PHP:^8.1
Laravel:11 · 12
Older releases:10
License:MIT
Last Updated:Jul 28, 2026
Links: GitHub  ·  Packagist
Maintainer: amazeeio

Sail:onLagoon

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Sail:onLagoon is a Laravel extension that simplifies the process of Lagoonizing Laravel sites that are already using Laravel Sail to generate their docker-compose setup. This extension provides additional features and configurations tailored for Lagoon environments.

Installation

The assumption is that you've already set up your Laravel development environment locally using Sail.

Once you have your Laravel site running locally, you can install Sail on Lagoon via composer:

composer require --dev uselagoon/sailonlagoon

Note that we install Sail:onLagoon as a dev dependency (with the --dev flag) as it simply creates and publishes configuration files, therefore, the package itself isn't required at run time.

To use Sail:onLagoon, run the following Artisan command:

php artisan sail:onlagoon [--projectName=my-lagoon-project] [--no-interaction]

This will read your sail-generated docker-compose.yml file and attempt to generate the required files for a Lagoon installation. You can, optionally, specify the name of your project and skip the interactive question. Specifying --no-interaction will skip any interaction (including warnings) and Lagoonize the project.

Requirements

There are very few requirements that aren't requirements for Sail directly, but they are:

  • PHP >= 8.1
  • Laravel >= 10

Supported Services

Sail:onLagoon currently supports the following service types:

MySQL
PostgreSQL
MariaDB
Redis
MeiliSearch

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Acknowledgements

Initial Laravel bootstrap code provided by Workshop Orange.

License

The MIT License (MIT). Please see License File for more information.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

660,512,042 9,702
laravel/framework

The Laravel Framework.

625,568,548 34,998
laravel/tinker

Powerful REPL for the Laravel framework.

531,591,559 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

450,320,528 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

424,642,029 4,662

Version History

Version Released PHP Laravel License
v0.3.0 ^8.1 ^11.0|^12.0 MIT
v0.2.0 ^8.1 ^10.0||^11.0 MIT
v0.1.1 ^8.1 ^10.0||^11.0 MIT
v0.1.0 ^8.1 ^10.0||^11.0 MIT