cd /var/www/zns/data/www/site.org
composer create-project --prefer-dist yiisoft/yii2-app-advanced app
создаем token если потребует
https://help.github.com/articles/creating-an-access-token-for-command-line-use/
Проверяем
http://site.org/app/requirements.php
Доустанавливаем на CENTOS 6
yum install php-pear php-devel httpd-devel pcre-devel gcc make yum -y install php-pecl-apc yum --enablerepo=remi install php-intl yum install ImageMagick ImageMagick-devel ImageMagick-perl pecl install imagick echo extension=imagick.so >> /etc/php.ini service httpd restart