PHP code example of beeralex / compose

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

    

beeralex / compose example snippets

_VERSION

PHP_VERSION=7.4|8.2|8.3|8.4 # по сути не фактическая версия php - используется для построения пути к dockerfile в 
bash
docky publish --file php.ini|xdebug.ini|cron_tasks|nginx_conf|symlinks|mysql_conf|postgres_conf|supervisord_conf
docky publish --dockerfile app|nginx|node
 ${DOCKER_PATH}/app/php-{PHP_VERSION}/ 
 ${CONF_PATH}/app/php-{PHP_VERSION}/ 
bash
docky publish --file php.ini
 ${CONF_PATH}/app/php-{PHP_VERSION}/php.ini 
bash
docky publish --file xdebug.ini
 ${CONF_PATH}/app/php-{PHP_VERSION}/xdebug.ini 
bash
docky publish
docky publish --service node|mysql|mariadb|postgres|sphinx|redis|memcached|mailhog|phpmyadmin
docky publish --file php.ini|xdebug.ini|cron_tasks|nginx_conf|symlinks|mysql_conf|postgres_conf|supervisord_conf
docky publish --dockerfile app|nginx|node
bash
docky php -v