PHP code example of igor-kozhevnikov / cross

1. Go to this page and download the library: Download igor-kozhevnikov/cross 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/ */

    

igor-kozhevnikov / cross example snippets




return [
    'plugins' => [
        \Cross\Docker\Plugin\Plugin::class => [ 'env_path' => 'docker/.env' ],
        \Cross\Git\Plugin\Plugin::class,
    ],
    'command' => [
        \Cross\Docker\Commands\SSH::class => [ 'container' => 'packager_workspace' ],
        \Cross\Git\Commands\Snapshot::class => [ 'is_use_add' => false ],
    ],
];