jetrails/deployer-autopilot
Composer 安装命令:
composer require jetrails/deployer-autopilot
包简介
AutoPilot deployer recipe, guides, and examples
README 文档
README
AutoPilot deployer recipe, guides, and examples
About
Deployer is a deployment tool written in PHP with support for popular frameworks out of the box. Deployer is used by hundreds of thousands of projects worldwide, performing over a million monthly deploys. Deployer comes with more than 50 ready-to-use recipes for frameworks and third-party services. You can find more information about Deployer at https://deployer.org/.
This repository is created to help you adjust your Deployer deployment configuration and deploy applications on the AutoPilot platform.
AutoPilot Recipe
We have created a recipe that you can use to deploy your PHP applications on the AutoPilot platform. You can install the recipe using Composer by running the following command:
composer require jetrails/deployer-autopilot --dev
After installing the recipe, you can add the following code to the top of your deploy.php file:
require "./vendor/autoload.php";
require "recipe/autopilot.php";
Alternatively, if you would like to include the recipe directly without using Composer, you can add the following line to your deploy.php file:
require "./vendor/jetrails/deployer-autopilot/recipe/autopilot.php";
This recipe, includes helpful tasks and configurations that are relevant to deploying applications on the AutoPilot platform. Here are the tasks that are included in the recipe:
| Command | Description |
|---|---|
autopilot:restart:php-fpm |
Restart php-fpm |
autopilot:restart:nginx |
Restart nginx |
autopilot:restart:mysql |
Restart mysql |
autopilot:restart:rabbitmq |
Restart rabbitmq |
autopilot:restart:opensearch |
Restart opensearch |
autopilot:restart:varnish |
Restart varnish |
autopilot:flush:redis-cache |
Flush redis-cache |
autopilot:flush:redis-session |
Flush redis-session |
We also include date based releases, which can be optionally enabled in your deploy.php file by adding the following line:
set("release_name", "{{autopilot_release_name}}");
This will prefix the current date to the deployer release number, for example 2024-10-04-002.
Examples & Guides
You can find example deploy.php files in the examples directory that integrate the AutoPilot recipe with the official application recipes.
| Application | Example |
|---|---|
| Magento 2 | examples/magento2.php |
| Shopware | examples/shopware.php |
| WordPress | examples/wordpress.php |
You can find additional guides on how to setup a deployment pipeline with popular continuous deployment tools here:
| Platform | Guide |
|---|---|
| Drone CI | docs/guide-drone-ci.md |
| GitHub Actions | docs/guide-github-actions.md |
jetrails/deployer-autopilot 适用场景与选型建议
jetrails/deployer-autopilot 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11.47k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2024 年 10 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「wordpress」 「shopware」 「magento2」 「autopilot」 「jetrails」 「deployer-php」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 jetrails/deployer-autopilot 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jetrails/deployer-autopilot 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 jetrails/deployer-autopilot 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Russian Language Pack for Magento 2
DPD Magento2 Shipping extension
Auto generate related products for Magento 2
Show a variant switch within the listing and cart
This is a module that extends Magento2 API to get list of TOP products.
Pimcore CMS Bundle
统计信息
- 总下载量: 11.47k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-22