PHP code example of zfcampus / zf-deploy
1. Go to this page and download the library: Download zfcampus/zf-deploy 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/ */
zfcampus / zf-deploy example snippets
console
$ php -r "file_put_contents('zfdeploy.phar', file_get_contents('https://packages.zendframework.com/zf-deploy/zfdeploy.phar'));"
console
> $ php bin/zfdeploy.php
> $ php vendor/bin/zfdeploy.php
> $ php zfdeploy.phar
>
bash
$ php composer.phar install --no-dev --prefer-dist --optimize-autoloader