定制 uselagoon/sailonlagoon 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

uselagoon/sailonlagoon

最新稳定版本:v0.3.0

Composer 安装命令:

composer require uselagoon/sailonlagoon

包简介

Sail on Lagoon

README 文档

README

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.

统计信息

  • 总下载量: 1.06k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-18