PHP code example of dmfh / typo3-deployer

1. Go to this page and download the library: Download dmfh/typo3-deployer 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/ */

    

dmfh / typo3-deployer example snippets



namespace Deployer;

-deployer/src/provider/alfahosting.php';
import('.hosts.yml');

// Optional project-specific overrides (picked up lazily):
// set('rsync_exclude_extra', ['/Projektdateien', 'SHARED-HOSTING.md']);
// set('shared_files', array_merge(get('shared_files'), ['.env.staging']));
// set('stage_auth_marker', '__STAGE_AUTH__');


namespace Deployer;
set('ssh_multiplexing', false);
set('php', '/usr/bin/php8.3');   // e.g. HostEurope