Download the PHP package sourcebroker/deployer-typo3-database without Composer
On this page you can find all versions of the php package sourcebroker/deployer-typo3-database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sourcebroker/deployer-typo3-database
More information about sourcebroker/deployer-typo3-database
Files in sourcebroker/deployer-typo3-database
Package deployer-typo3-database
Short Description Database sync for TYPO3 with deployer-extended-database.
License MIT
Informations about the package deployer-typo3-database
deployer-typo3-database
What does it do?
This package provides settings to use package sourcebroker/deployer-extended-database with TYPO3 CMS. It allows to sync database between instances.
Installation
-
Install package with composer:
-
Put the following lines at the beginning of your
deploy.php: -
On each instance create a
.env(or.env.local) file which should be out of git and have at leastINSTANCEwith the same name as defined forhost()indeploy.php. You can use this file also to store database credentials and any other settings that are different per instance. Example for.envfile:If you want Deployer to get database data from TYPO3 directly instead of reading from
.envfile then set:As an alternative you can also not create any
.envfile but make sure that the env variableINSTANCEexists in the system at hosts defined in Deployer (and also at your local host). For example, at local ddev level you can define it in.ddev/config.yaml:
Synchronizing database
The command for synchronizing database from production database to local instance is:
The command for synchronizing database from production to staging is:
Example of working configuration
This is an example of working configuration for TYPO3 13:
Changelog
See CHANGELOG.rst