PHP code example of sourcebroker / deployer-typo3-database

1. Go to this page and download the library: Download sourcebroker/deployer-typo3-database library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sourcebroker / deployer-typo3-database example snippets


    new \SourceBroker\DeployerLoader\Loader([
     ['get' => 'sourcebroker/deployer-typo3-database'],
   ]);
   

   set('driver_typo3cms', true);
   



namespace Deployer;

Loader\Loader([
  ['get' => 'sourcebroker/deployer-typo3-database'],
]);

host('production')
    ->setHostname('vm-dev.example.com')
    ->setRemoteUser('deploy')
    ->set('bin/php', '/usr/bin/php8.4');
    ->set('deploy_path', '~/t3base13/production');

host('staging')
    ->setHostname('vm-dev.example.com')
    ->setRemoteUser('deploy')
    ->set('bin/php', '/usr/bin/php8.4');
    ->set('deploy_path', '~/t3base13/staging');