sourcebroker/deployer-typo3-deploy 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sourcebroker/deployer-typo3-deploy

最新稳定版本:2.0.0

Composer 安装命令:

composer require sourcebroker/deployer-typo3-deploy

包简介

Deploy for TYPO3 with Deployer

README 文档

README

Latest Stable Version License: MIT

What does it do?

This package provides a deploy task for deploying TYPO3 CMS with Deployer (deployer.org).

Installation

  1. Install package with composer:

    composer require sourcebroker/deployer-typo3-deploy 
  2. Put the following lines at the beginning of your deploy.php:

    require_once(__DIR__ . '/vendor/autoload.php'); new \SourceBroker\DeployerLoader\Loader([ ['get' => 'sourcebroker/deployer-typo3-deploy'], ]);
  3. Remove the task "deploy" from your deploy.php. Otherwise, you will overwrite the deploy task defined in vendor/sourcebroker/deployer-typo3-deploy/deployer/default/deploy/task/deploy.php. Look at Example of working configuration to see how simple a working deploy.php file can be.

Example of working configuration

This is an example of a working configuration for TYPO3 13. The aim of sourcebroker/deployer-typo3-deploy is to have a very slim deploy.php file in order to make it easy to upgrade to future versions of sourcebroker/deployer-typo3-deploy.

<?php namespace Deployer; require_once('./vendor/autoload.php'); new \SourceBroker\DeployerLoader\Loader([ ['get' => 'sourcebroker/deployer-typo3-deploy'], ]); set('repository', 'git@github.com:sourcebrokergit/t3base13.git'); task('deploy:writable')->disable(); // Disable deploy:writable task if httpd user is the same as ssh user. host('production') ->setHostname('vm-dev.example.com') ->setRemoteUser('deploy') ->set('branch', 'main') ->set('bin/php', '/usr/bin/php84') ->set('public_urls', ['https://production-t3base13.example.com']) ->set('deploy_path', '~/t3base13/production'); host('staging') ->setHostname('vm-dev.example.com') ->setRemoteUser('deploy') ->set('branch', 'develop') ->set('bin/php', '/usr/bin/php84') ->set('public_urls', ['https://staging-t3base13.example.com']) ->set('deploy_path', '~/t3base13/staging');

Changelog

See CHANGELOG.rst

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 4
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04