sourcebroker / deployer-extended-typo3
Customisation for `sourcebroker/deployer-typo3-*` stack
Installs: 160 866
Dependents: 3
Suggesters: 0
Security: 0
Stars: 36
Watchers: 4
Forks: 9
Open Issues: 1
Requires
- sourcebroker/deployer-extended: ^24.0.0 || dev-master
- sourcebroker/deployer-typo3-database: ^1.0.0 || dev-main
- sourcebroker/deployer-typo3-deploy: ^1.0.0 || dev-main
- sourcebroker/deployer-typo3-deploy-ci: ^1.0.0 || dev-main
- sourcebroker/deployer-typo3-media: ^1.0.0 || dev-main
- dev-master
- 24.0.0
- 23.0.0
- 22.0.0
- 21.0.0
- 20.0.0
- 19.0.0
- 18.1.0
- 18.0.0
- 17.0.0
- 16.1.0
- 16.0.0
- 15.0.0
- 14.1.0
- 14.0.0
- 13.1.0
- 13.0.0
- 12.1.0
- 12.0.0
- 11.0.0
- 10.0.0
- 9.0.0
- 8.0.0
- 7.1.0
- 7.0.1
- 7.0.0
- 6.2.1
- 6.2.0
- 6.1.0
- 6.0.1
- 6.0.0
- 5.2.0
- 5.1.0
- 5.0.1
- 5.0.0
- 4.6.4
- 4.6.3
- 4.6.2
- 4.5.1
- 4.5.0
- 4.4.1
- 4.4.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.0
- 3.15.2
- 3.15.1
- 3.15.0
- 3.14.1
- 3.14.0
- 3.13.1
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.2
- 3.7.1
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.11.2
- 2.11.1
- 2.11.0
- 2.10.1
- 2.10.0
- 2.9.2
- 2.9.1
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.0
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.2.1
- 1.1.1
- 1.1.0
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
This package is auto-updated.
Last update: 2025-04-07 17:11:10 UTC
README
What does it do?
This package is customisation for stack of packages sourcebroker/deployer-typo3-*
.
- package sourcebroker/deployer-typo3-deploy - TYPO3 deploy process at local level
- package sourcebroker/deployer-typo3-deploy-ci TYPO3 deploy process at CI level (gitlab for now only)
- package sourcebroker/deployer-typo3-database TYPO3 preconfigured synchronisation of databases between multiple instances
- package sourcebroker/deployer-typo3-media TYPO3 preconfigured synchronisation of media between multiple instances
You should treat this package more like example and fork it to make your own customisation.
But if you accept flow proposed by this project then of course you can make it a base for your projects.
Installation
Install package with composer:
composer require sourcebroker/deployer-extended-typo3
Put following lines on the beginning of your
deploy.php
. You can decide what packages/functionality you want to use. For example - remove line['get' => 'sourcebroker/deployer-typo3-database'],
and there will be no task for database sync. If you choose deploy using CI then usesourcebroker/deployer-typo3-deploy-ci
instead ofsourcebroker/deployer-typo3-deploy
. Each package is completely independent and you can use only those you need.<?php require_once('./vendor/autoload.php'); new \SourceBroker\DeployerLoader\Load([ ['get' => 'sourcebroker/deployer-typo3-media'], ['get' => 'sourcebroker/deployer-typo3-database'], ['get' => 'sourcebroker/deployer-typo3-deploy'], ['get' => 'sourcebroker/deployer-extended-typo3'], ]);
If you use sourcebroker/deployer-typo3-deploy then remove task
deploy
from yourdeploy.php
.If you want to use database synchronisation then please read documentation at sourcebroker/deployer-typo3-database
If you want to use media synchronisation then please read documentation at sourcebroker/deployer-typo3-media
Example of working configuration
This is example of working configuration for TYPO3 13. The aim of sourcebroker/deployer-extended-typo3
is to
have very slim deploy.php
file in order to have nice possibility to upgrade to future versions of
sourcebroker/deployer-extended-typo3
.
This is config for deploy from local cli level.
<?php namespace Deployer; require_once('./vendor/autoload.php'); new \SourceBroker\DeployerLoader\Load([ ['get' => 'sourcebroker/deployer-typo3-media'], ['get' => 'sourcebroker/deployer-typo3-database'], ['get' => 'sourcebroker/deployer-typo3-deploy'], ['get' => 'sourcebroker/deployer-extended-typo3'], ]); set('repository', 'git@github.com:sourcebrokergit/t3base13.git'); host('production') ->setHostname('vm-dev.example.com') ->setRemoteUser('deploy') ->set('branch', 'main') ->set('public_urls', ['https://t3base13.example.com']) ->set('deploy_path', '~/t3base13/production'); host('staging') ->setHostname('vm-dev.example.com') ->setRemoteUser('deploy') ->set('branch', 'develop') ->set('public_urls', ['https://staging-t3base13.example.com']) ->set('deploy_path', '~/t3base13/staging');
and here example for deploy from gitlab ci. Deploy is from CI level but database and media synchro still needs ssh access (!)
<?php namespace Deployer; require_once('./vendor/autoload.php'); new \SourceBroker\DeployerLoader\Load([ ['get' => 'sourcebroker/deployer-typo3-media'], ['get' => 'sourcebroker/deployer-typo3-database'], ['get' => 'sourcebroker/deployer-typo3-deploy-ci'], ['get' => 'sourcebroker/deployer-extended-typo3'], ]); host('production') ->setHostname('vm-dev.example.com') ->setRemoteUser('deploy') ->set('public_urls', ['https://t3base13.example.com']) ->set('deploy_path', '~/t3base13/production'); host('staging') ->setHostname('vm-dev.example.com') ->setRemoteUser('deploy') ->set('public_urls', ['https://staging-t3base13.example.com']) ->set('deploy_path', '~/t3base13/staging');
Changelog
See https://github.com/sourcebroker/deployer-extended-typo3/blob/master/CHANGELOG.rst