因為使用php 安裝的是docker環境所有進入到容器安裝ridh_mfe_api 為掛載目錄
Nginx及PHP掛載配置
因為使用php 安裝的是docker環境所有進入到容器安裝
ridh_mfe_api 為掛載目錄
進入容器
% docker exec -it php sh
/var/www/html # ls
index.html index.php
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
sh: composer: not found
php -r “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);”
安裝composer
php -r “if (hash_file(‘sha384’, ‘composer-setup.php’) === ‘dac665fdc30f8543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6’) { echo ‘In
staller verified’.PHP_EOL; } else { echo ‘Installer corrupt’.PHP_EOL; unlink(‘composer-setup.php’); exit(1); }”
Installer verified
php composer-setup.php
All settings correct for using Composer
Downloading…
Composer (version 2.8.9) successfully installed to: /var/www/ridh_mfe_api/composer.phar
Use it: php composer.phar
php -r “unlink(‘composer-setup.php’);”
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
sh: composer: not found
composer create-project --pre^C
ls
README.md composer.phar
sudo mv composer.phar /usr/local/bin/composer
sh: sudo: not found
mv composer.phar /usr/local/bin/composer
安裝Yii2 基礎版
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
Creating a “yiisoft/yii2-app-basic” project at “./basic”
Installing yiisoft/yii2-app-basic (2.0.52)
- Downloading yiisoft/yii2-app-basic (2.0.52)
Failed to download yiisoft/yii2-app-basic from dist: curl error 35 while downloading https://api.github.com/repos/yiisoft/yii2-app-basic/zipball/fa65fe091e50daadab408b8b72744ff3c9a0b3a2: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.github.com:443
Now trying to download from source
In GitDownloader.php line 82:
git was not found in your PATH, skipping source download
create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–no-audit] [–audit-format AUDIT-FORMAT] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [ [ []]]
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
報錯 git was not found in your PATH, skipping source download
安裝git 基/礎版
apk add git
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz
(1/3) Installing expat (2.6.2-r0)
(2/3) Installing pcre2 (10.42-r0)
(3/3) Installing git (2.36.6-r0)
Executing busybox-1.35.0-r17.trigger
OK: 34 MiB in 46 packages
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
Creating a “yiisoft/yii2-app-basic” project at “./basic”
In CreateProjectCommand.php line 369:
Project directory “/var/www/ridh_mfe_api/basic” is not empty.
README.md basic
提示存在刪除
rm -rf basic/
重新安裝 yii2-app-basic
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
Creating a “yiisoft/yii2-app-basic” project at “./basic”
Installing yiisoft/yii2-app-basic (2.0.51)
- Downloading yiisoft/yii2-app-basic (2.0.51)
- Installing yiisoft/yii2-app-basic (2.0.51): Extracting archive
Created project in /var/www/ridh_mfe_api/basic
Loading composer repositories with package information
Updating dependencies
Lock file operations: 85 installs, 0 updates, 0 removals - Locking behat/gherkin (v4.10.0)
- Locking bower-asset/bootstrap (v5.3.6)
- Locking bower-asset/inputmask (5.0.9)
- Locking bower-asset/jquery (3.7.1)
- Locking bower-asset/punycode (v2.3.1)
- Locking bower-asset/yii2-pjax (2.0.8)
- Locking cebe/markdown (1.2.1)
- Locking codeception/codeception (4.2.2)
- Locking codeception/lib-asserts (1.13.2)
- Locking codeception/lib-innerbrowser (1.5.1)
- Locking codeception/module-asserts (1.3.1)
- Locking codeception/module-filesystem (2.0.2)
- Locking codeception/module-yii2 (1.1.5)
- Locking codeception/phpunit-wrapper (9.0.9)
- Locking codeception/stub (4.0.2)
- Locking codeception/verify (3.2.0)
- Locking doctrine/deprecations (1.1.4)
- Locking doctrine/instantiator (1.5.0)
- Locking doctrine/lexer (2.1.1)
- Locking egulias/email-validator (3.2.6)
- Locking ezyang/htmlpurifier (v4.18.0)
- Locking fakerphp/faker (v1.23.1)
- Locking guzzlehttp/psr7 (2.7.1)
- Locking myclabs/deep-copy (1.13.0)
- Locking nikic/php-parser (v5.3.1)
- Locking paragonie/random_compat (v9.99.100)
- Locking phar-io/manifest (2.0.3)
- Locking phar-io/version (3.2.1)
- Locking phpspec/php-diff (v1.1.3)
- Locking phpunit/php-code-coverage (9.2.32)
- Locking phpunit/php-file-iterator (3.0.6)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.6.19)
- Locking psr/container (1.1.2)
- Locking psr/event-dispatcher (1.0.0)
- Locking psr/http-factory (1.0.2)
- Locking psr/http-message (2.0)
- Locking psr/log (1.1.4)
- Locking ralouphie/getallheaders (3.0.3)
- Locking sebastian/cli-parser (1.0.2)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.8)
- Locking sebastian/complexity (2.0.3)
- Locking sebastian/diff (4.0.6)
- Locking sebastian/environment (5.1.5)
- Locking sebastian/exporter (4.0.6)
- Locking sebastian/global-state (5.0.7)
- Locking sebastian/lines-of-code (1.0.4)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.5)
- Locking sebastian/resource-operations (3.0.4)
- Locking sebastian/type (3.2.1)
- Locking sebastian/version (3.0.2)
- Locking symfony/browser-kit (v4.2.4)
- Locking symfony/console (v5.4.47)
- Locking symfony/css-selector (v5.4.45)
- Locking symfony/deprecation-contracts (v2.5.4)
- Locking symfony/dom-crawler (v4.4.45)
- Locking symfony/event-dispatcher (v5.4.45)
- Locking symfony/event-dispatcher-contracts (v2.5.4)
- Locking symfony/finder (v5.4.45)
- Locking symfony/mailer (v5.4.45)
- Locking symfony/mime (v5.4.45)
- Locking symfony/polyfill-ctype (v1.31.0)
- Locking symfony/polyfill-intl-grapheme (v1.31.0)
- Locking symfony/polyfill-intl-idn (v1.31.0)
- Locking symfony/polyfill-intl-normalizer (v1.31.0)
- Locking symfony/polyfill-mbstring (v1.31.0)
- Locking symfony/polyfill-php73 (v1.31.0)
- Locking symfony/polyfill-php80 (v1.31.0)
- Locking symfony/service-contracts (v2.5.4)
- Locking symfony/string (v5.4.47)
- Locking symfony/yaml (v5.4.45)
- Locking theseer/tokenizer (1.2.3)
- Locking yiisoft/yii2 (2.0.51)
- Locking yiisoft/yii2-bootstrap5 (2.0.50)
- Locking yiisoft/yii2-composer (2.0.11)
- Locking yiisoft/yii2-debug (2.1.27)
- Locking yiisoft/yii2-faker (2.0.5)
- Locking yiisoft/yii2-gii (2.2.7)
- Locking yiisoft/yii2-symfonymailer (2.0.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 85 installs, 0 updates, 0 removals - Downloading yiisoft/yii2-composer (2.0.11)
- Downloading behat/gherkin (v4.10.0)
- Downloading bower-asset/jquery (3.7.1)
- Downloading bower-asset/inputmask (5.0.9)
- Downloading bower-asset/punycode (v2.3.1)
- Downloading bower-asset/yii2-pjax (2.0.8)
- Downloading cebe/markdown (1.2.1)
- Downloading sebastian/version (3.0.2)
- Downloading sebastian/type (3.2.1)
- Downloading sebastian/resource-operations (3.0.4)
- Downloading sebastian/recursion-context (4.0.5)
- Downloading sebastian/object-reflector (2.0.4)
- Downloading sebastian/object-enumerator (4.0.4)
- Downloading sebastian/global-state (5.0.7)
- Downloading sebastian/exporter (4.0.6)
- Downloading sebastian/environment (5.1.5)
- Downloading sebastian/diff (4.0.6)
- Downloading sebastian/comparator (4.0.8)
- Downloading sebastian/code-unit (1.0.8)
- Downloading sebastian/cli-parser (1.0.2)
- Downloading phpunit/php-timer (5.0.3)
- Downloading phpunit/php-text-template (2.0.4)
- Downloading phpunit/php-invoker (3.1.1)
- Downloading phpunit/php-file-iterator (3.0.6)
- Downloading theseer/tokenizer (1.2.3)
- Downloading symfony/polyfill-ctype (v1.31.0)
- Downloading nikic/php-parser (v5.3.1)
- Downloading sebastian/lines-of-code (1.0.4)
- Downloading sebastian/complexity (2.0.3)
- Downloading sebastian/code-unit-reverse-lookup (2.0.3)
- Downloading phpunit/php-code-coverage (9.2.32)
- Downloading phar-io/version (3.2.1)
- Downloading phar-io/manifest (2.0.3)
- Downloading myclabs/deep-copy (1.13.0)
- Downloading symfony/polyfill-mbstring (v1.31.0)
- Downloading doctrine/instantiator (1.5.0)
- Downloading phpunit/phpunit (9.6.19)
- Downloading codeception/phpunit-wrapper (9.0.9)
- Downloading codeception/lib-asserts (1.13.2)
- Downloading symfony/deprecation-contracts (v2.5.4)
- Downloading symfony/yaml (v5.4.45)
- Downloading symfony/polyfill-php80 (v1.31.0)
- Downloading symfony/finder (v5.4.45)
- Downloading psr/event-dispatcher (1.0.0)
- Downloading symfony/event-dispatcher-contracts (v2.5.4)
- Downloading symfony/event-dispatcher (v5.4.45)
- Downloading symfony/css-selector (v5.4.45)
- Downloading symfony/polyfill-intl-normalizer (v1.31.0)
- Downloading symfony/polyfill-intl-grapheme (v1.31.0)
- Downloading symfony/string (v5.4.47)
- Downloading psr/container (1.1.2)
- Downloading symfony/service-contracts (v2.5.4)
- Downloading symfony/polyfill-php73 (v1.31.0)
- Downloading symfony/console (v5.4.47)
- Downloading ralouphie/getallheaders (3.0.3)
- Downloading psr/http-message (2.0)
- Downloading psr/http-factory (1.0.2)
- Downloading guzzlehttp/psr7 (2.7.1)
- Downloading codeception/stub (4.0.2)
- Downloading codeception/codeception (4.2.2)
- Downloading codeception/module-asserts (1.3.1)
- Downloading codeception/module-filesystem (2.0.2)
- Downloading symfony/dom-crawler (v4.4.45)
- Downloading symfony/browser-kit (v4.2.4)
- Downloading codeception/lib-innerbrowser (1.5.1)
- Downloading codeception/module-yii2 (1.1.5)
- Downloading codeception/verify (3.2.0)
- Downloading doctrine/deprecations (1.1.4)
- Downloading symfony/polyfill-intl-idn (v1.31.0)
- Downloading doctrine/lexer (2.1.1)
- Downloading egulias/email-validator (3.2.6)
- Downloading ezyang/htmlpurifier (v4.18.0)
- Downloading paragonie/random_compat (v9.99.100)
- Downloading psr/log (1.1.4)
- Downloading symfony/mime (v5.4.45)
- Downloading yiisoft/yii2 (2.0.51)
- Downloading bower-asset/bootstrap (v5.3.6)
- Downloading yiisoft/yii2-bootstrap5 (2.0.50)
- Downloading yiisoft/yii2-debug (2.1.27)
- Downloading fakerphp/faker (v1.23.1)
- Downloading yiisoft/yii2-faker (2.0.5)
- Downloading phpspec/php-diff (v1.1.3)
- Downloading yiisoft/yii2-gii (2.2.7)
- Downloading symfony/mailer (v5.4.45)
- Downloading yiisoft/yii2-symfonymailer (2.0.4)
0/85 [>---------------------------] 0% Failed downloading yiisoft/yii2-composer, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-composer/b684b01ecb119c8287721def726a0e24fec2fef2.zip” file could not be downloaded (HTTP/2 404 )) - Downloading yiisoft/yii2-composer (2.0.11)
27/85 [========>-------------------] 31% Failed downloading myclabs/deep-copy, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/myclabs/deep-copy/024473a478be9df5fdaca2c793f2232fe788e414.zip” file could not be downloaded (HTTP/2 404 )) - Downloading myclabs/deep-copy (1.13.0)
44/85 [==============>-------------] 51% Failed downloading guzzlehttp/psr7, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/guzzlehttp/psr7/c2270caaabe631b3b44c85f99e5a04bbb8060d16.zip” file could not be downloaded (HTTP/2 404 )) - Downloading guzzlehttp/psr7 (2.7.1)
68/85 [======================>-----] 80% Failed downloading yiisoft/yii2-bootstrap5, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-bootstrap5/ad080a7ea063074888c2d801f6b05162064f8ae0.zip” file could not be downloaded (HTTP/2 404 )) - Downloading yiisoft/yii2-bootstrap5 (2.0.50)
Failed downloading yiisoft/yii2-debug, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-debug/44e158914911ef81cd7111fd6d46b918f65fae7c.zip” file could not be downloaded (HTTP/2 404 )) - Downloading yiisoft/yii2-debug (2.1.27)
Failed downloading yiisoft/yii2-gii, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-gii/f17c7ef7ef3081213f612b37ad0ceaa8e8cd3d3b.zip” file could not be downloaded (HTTP/2 404 )) - Downloading yiisoft/yii2-gii (2.2.7)
84/85 [===========================>] 98% Failed to download bower-asset/bootstrap from dist: curl error 28 while downloading https://codeload.github.com/twbs/bootstrap/legacy.zip/f849680d16a9695c9a6c9c062d6cff55ddcf071e: Operation timed out after 300000 milliseconds with 1535162 out of 8372188 bytes received
Now trying to download from source - Syncing bower-asset/bootstrap (v5.3.6) into cache
Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos
When working with public GitHub repositories only, head here to retrieve a token:
https://github.com/settings/tokens/new?scopes=&description=Composer+on+ae8a67b6c6d2+2025-06-16+0608
This token will have read-only permission for public information only.
When you need to access private GitHub repositories as well, go to:
https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+ae8a67b6c6d2+2025-06-16+0608
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in “/root/.composer/auth.json” for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth
說明 Composer 在嘗試訪問 GitHub 的某個資源時,觸發了 GitHub 的 API 限速機制,需要你提供一個 GitHub OAuth Token 來提高請求配額。
解決方法:創建并配置 GitHub OAuth Token
🔧 步驟一:生成 GitHub Personal Access Token
登錄 GitHub 賬號。
點擊右上角頭像 → Settings。
左側菜單選擇 Developer settings。
選擇 Personal access tokens → Tokens (classic)。
點擊 Generate new token。
勾選權限:
public_repo(如果你只用公開倉庫)
read:packages(如果你用了 GitHub Packages)
設置過期時間(建議設為無過期或至少一年)
點擊 Generate token
輸入token
Token (hidden):
Token stored successfully.
85/85 [============================] 100%
In Git.php line 587:
Failed to execute git clone --mirror – https://git…2YH:x-oauth-basic@github.com/twbs/bootstrap.git /root/.composer/cache/vcs/https—github.com-twbs-bootstrap.git/
Cloning into bare repository ‘/root/.composer/cache/vcs/https—github.com-twbs-bootstrap.git’…
error: RPC failed; curl 92 HTTP/2 stream 7 was not closed cleanly before end of the underlying stream
error: 2746 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–no-audit] [–audit-format AUDIT-FORMAT] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [ [ []]]
超時
設置aliyun源
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
Creating a “yiisoft/yii2-app-basic” project at “./basic”
In CreateProjectCommand.php line 369:
Project directory “/var/www/ridh_mfe_api/basic” is not empty.
create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–no-audit] [–audit-format AUDIT-FORMAT] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [ [ []]]
rm -rf basic/
玄學 換個名字肯定一把過
composer create-project --prefer-dist yiisoft/yii2-app-basic backend
Creating a “yiisoft/yii2-app-basic” project at “./backend”
Installing yiisoft/yii2-app-basic (2.0.51)
- Installing yiisoft/yii2-app-basic (2.0.51): Extracting archive
Created project in /var/www/ridh_mfe_api/backend
Loading composer repositories with package information
https://asset-packagist.org could not be fully loaded (curl error 35 while downloading https://asset-packagist.org/packages.json: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to asset-packagist.org:443 ), package information was loaded from the local cache and may be out of date
Updating dependencies
Lock file operations: 85 installs, 0 updates, 0 removals - Locking behat/gherkin (v4.10.0)
- Locking bower-asset/bootstrap (v5.3.6)
- Locking bower-asset/inputmask (5.0.9)
- Locking bower-asset/jquery (3.7.1)
- Locking bower-asset/punycode (v2.3.1)
- Locking bower-asset/yii2-pjax (2.0.8)
- Locking cebe/markdown (1.2.1)
- Locking codeception/codeception (4.2.2)
- Locking codeception/lib-asserts (1.13.2)
- Locking codeception/lib-innerbrowser (1.5.1)
- Locking codeception/module-asserts (1.3.1)
- Locking codeception/module-filesystem (2.0.2)
- Locking codeception/module-yii2 (1.1.5)
- Locking codeception/phpunit-wrapper (9.0.9)
- Locking codeception/stub (4.0.2)
- Locking codeception/verify (3.2.0)
- Locking doctrine/deprecations (1.1.4)
- Locking doctrine/instantiator (1.5.0)
- Locking doctrine/lexer (2.1.1)
- Locking egulias/email-validator (3.2.6)
- Locking ezyang/htmlpurifier (v4.18.0)
- Locking fakerphp/faker (v1.23.1)
- Locking guzzlehttp/psr7 (2.7.1)
- Locking myclabs/deep-copy (1.13.0)
- Locking nikic/php-parser (v5.3.1)
- Locking paragonie/random_compat (v9.99.100)
- Locking phar-io/manifest (2.0.3)
- Locking phar-io/version (3.2.1)
- Locking phpspec/php-diff (v1.1.3)
- Locking phpunit/php-code-coverage (9.2.32)
- Locking phpunit/php-file-iterator (3.0.6)
- Locking phpunit/php-invoker (3.1.1)
- Locking phpunit/php-text-template (2.0.4)
- Locking phpunit/php-timer (5.0.3)
- Locking phpunit/phpunit (9.6.19)
- Locking psr/container (1.1.2)
- Locking psr/event-dispatcher (1.0.0)
- Locking psr/http-factory (1.0.2)
- Locking psr/http-message (2.0)
- Locking psr/log (1.1.4)
- Locking ralouphie/getallheaders (3.0.3)
- Locking sebastian/cli-parser (1.0.2)
- Locking sebastian/code-unit (1.0.8)
- Locking sebastian/code-unit-reverse-lookup (2.0.3)
- Locking sebastian/comparator (4.0.8)
- Locking sebastian/complexity (2.0.3)
- Locking sebastian/diff (4.0.6)
- Locking sebastian/environment (5.1.5)
- Locking sebastian/exporter (4.0.6)
- Locking sebastian/global-state (5.0.7)
- Locking sebastian/lines-of-code (1.0.4)
- Locking sebastian/object-enumerator (4.0.4)
- Locking sebastian/object-reflector (2.0.4)
- Locking sebastian/recursion-context (4.0.5)
- Locking sebastian/resource-operations (3.0.4)
- Locking sebastian/type (3.2.1)
- Locking sebastian/version (3.0.2)
- Locking symfony/browser-kit (v4.2.4)
- Locking symfony/console (v5.4.47)
- Locking symfony/css-selector (v5.4.45)
- Locking symfony/deprecation-contracts (v2.5.4)
- Locking symfony/dom-crawler (v4.4.45)
- Locking symfony/event-dispatcher (v5.4.45)
- Locking symfony/event-dispatcher-contracts (v2.5.4)
- Locking symfony/finder (v5.4.45)
- Locking symfony/mailer (v5.4.45)
- Locking symfony/mime (v5.4.45)
- Locking symfony/polyfill-ctype (v1.31.0)
- Locking symfony/polyfill-intl-grapheme (v1.31.0)
- Locking symfony/polyfill-intl-idn (v1.31.0)
- Locking symfony/polyfill-intl-normalizer (v1.31.0)
- Locking symfony/polyfill-mbstring (v1.31.0)
- Locking symfony/polyfill-php73 (v1.31.0)
- Locking symfony/polyfill-php80 (v1.31.0)
- Locking symfony/service-contracts (v2.5.4)
- Locking symfony/string (v5.4.47)
- Locking symfony/yaml (v5.4.45)
- Locking theseer/tokenizer (1.2.3)
- Locking yiisoft/yii2 (2.0.51)
- Locking yiisoft/yii2-bootstrap5 (2.0.50)
- Locking yiisoft/yii2-composer (2.0.11)
- Locking yiisoft/yii2-debug (2.1.27)
- Locking yiisoft/yii2-faker (2.0.5)
- Locking yiisoft/yii2-gii (2.2.7)
- Locking yiisoft/yii2-symfonymailer (2.0.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 85 installs, 0 updates, 0 removals - Downloading yiisoft/yii2-composer (2.0.11)
- Downloading myclabs/deep-copy (1.13.0)
- Downloading guzzlehttp/psr7 (2.7.1)
- Downloading bower-asset/bootstrap (v5.3.6)
- Downloading yiisoft/yii2-bootstrap5 (2.0.50)
- Downloading yiisoft/yii2-debug (2.1.27)
- Downloading yiisoft/yii2-gii (2.2.7)
0/7 [>---------------------------] 0% Failed downloading yiisoft/yii2-gii, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-gii/f17c7ef7ef3081213f612b37ad0ceaa8e8cd3d3b.zip” file could not be downloaded (HTTP/2 404 ))
1/7 [>-----------------------] 14% Failed downloading guzzlehttp/psr7, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/guzzlehttp/psr7/c2270caaabe631b3b44c85f99e5a04bbb8060d16.zip” file could not be downloaded (HTTP/2 404 ))
Failed downloading yiisoft/yii2-bootstrap5, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-bootstrap5/ad080a7ea063074888c2d801f6b05162064f8ae0.zip” file could not be downloaded (HTTP/2 404 ))
Failed downloading yiisoft/yii2-debug, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-debug/44e158914911ef81cd7111fd6d46b918f65fae7c.zip” file could not be downloaded (HTTP/2 404 ))
4/7 [============>-----------] 57% Failed downloading yiisoft/yii2-composer, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/yiisoft/yii2-composer/b684b01ecb119c8287721def726a0e24fec2fef2.zip” file could not be downloaded (HTTP/2 404 ))
Failed downloading myclabs/deep-copy, trying the next URL (404: The “https://mirrors.aliyun.com/composer/dists/myclabs/deep-copy/024473a478be9df5fdaca2c793f2232fe788e414.zip” file could not be downloaded (HTTP/2 404 )) - Installing yiisoft/yii2-composer (2.0.11): Extracting archive
- Installing behat/gherkin (v4.10.0): Extracting archive
- Installing bower-asset/jquery (3.7.1): Extracting archive
- Installing bower-asset/inputmask (5.0.9): Extracting archive
- Installing bower-asset/punycode (v2.3.1): Extracting archive
- Installing bower-asset/yii2-pjax (2.0.8): Extracting archive
- Installing cebe/markdown (1.2.1): Extracting archive
- Installing sebastian/version (3.0.2): Extracting archive
- Installing sebastian/type (3.2.1): Extracting archive
- Installing sebastian/resource-operations (3.0.4): Extracting archive
- Installing sebastian/recursion-context (4.0.5): Extracting archive
- Installing sebastian/object-reflector (2.0.4): Extracting archive
- Installing sebastian/object-enumerator (4.0.4): Extracting archive
- Installing sebastian/global-state (5.0.7): Extracting archive
- Installing sebastian/exporter (4.0.6): Extracting archive
- Installing sebastian/environment (5.1.5): Extracting archive
- Installing sebastian/diff (4.0.6): Extracting archive
- Installing sebastian/comparator (4.0.8): Extracting archive
- Installing sebastian/code-unit (1.0.8): Extracting archive
- Installing sebastian/cli-parser (1.0.2): Extracting archive
- Installing phpunit/php-timer (5.0.3): Extracting archive
- Installing phpunit/php-text-template (2.0.4): Extracting archive
- Installing phpunit/php-invoker (3.1.1): Extracting archive
- Installing phpunit/php-file-iterator (3.0.6): Extracting archive
- Installing theseer/tokenizer (1.2.3): Extracting archive
- Installing symfony/polyfill-ctype (v1.31.0): Extracting archive
- Installing nikic/php-parser (v5.3.1): Extracting archive
- Installing sebastian/lines-of-code (1.0.4): Extracting archive
- Installing sebastian/complexity (2.0.3): Extracting archive
- Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
- Installing phpunit/php-code-coverage (9.2.32): Extracting archive
- Installing phar-io/version (3.2.1): Extracting archive
- Installing phar-io/manifest (2.0.3): Extracting archive
- Installing myclabs/deep-copy (1.13.0): Extracting archive
- Installing symfony/polyfill-mbstring (v1.31.0): Extracting archive
- Installing doctrine/instantiator (1.5.0): Extracting archive
- Installing phpunit/phpunit (9.6.19): Extracting archive
- Installing codeception/phpunit-wrapper (9.0.9): Extracting archive
- Installing codeception/lib-asserts (1.13.2): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.4): Extracting archive
- Installing symfony/yaml (v5.4.45): Extracting archive
- Installing symfony/polyfill-php80 (v1.31.0): Extracting archive
- Installing symfony/finder (v5.4.45): Extracting archive
- Installing psr/event-dispatcher (1.0.0): Extracting archive
- Installing symfony/event-dispatcher-contracts (v2.5.4): Extracting archive
- Installing symfony/event-dispatcher (v5.4.45): Extracting archive
- Installing symfony/css-selector (v5.4.45): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.31.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.31.0): Extracting archive
- Installing symfony/string (v5.4.47): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.4): Extracting archive
- Installing symfony/polyfill-php73 (v1.31.0): Extracting archive
- Installing symfony/console (v5.4.47): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-message (2.0): Extracting archive
- Installing psr/http-factory (1.0.2): Extracting archive
- Installing guzzlehttp/psr7 (2.7.1): Extracting archive
- Installing codeception/stub (4.0.2): Extracting archive
- Installing codeception/codeception (4.2.2): Extracting archive
- Installing codeception/module-asserts (1.3.1): Extracting archive
- Installing codeception/module-filesystem (2.0.2): Extracting archive
- Installing symfony/dom-crawler (v4.4.45): Extracting archive
- Installing symfony/browser-kit (v4.2.4): Extracting archive
- Installing codeception/lib-innerbrowser (1.5.1): Extracting archive
- Installing codeception/module-yii2 (1.1.5): Extracting archive
- Installing codeception/verify (3.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.4): Extracting archive
- Installing symfony/polyfill-intl-idn (v1.31.0): Extracting archive
- Installing doctrine/lexer (2.1.1): Extracting archive
- Installing egulias/email-validator (3.2.6): Extracting archive
- Installing ezyang/htmlpurifier (v4.18.0): Extracting archive
- Installing paragonie/random_compat (v9.99.100): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing symfony/mime (v5.4.45): Extracting archive
- Installing yiisoft/yii2 (2.0.51): Extracting archive
- Installing bower-asset/bootstrap (v5.3.6): Extracting archive
- Installing yiisoft/yii2-bootstrap5 (2.0.50): Extracting archive
- Installing yiisoft/yii2-debug (2.1.27): Extracting archive
- Installing fakerphp/faker (v1.23.1): Extracting archive
- Installing yiisoft/yii2-faker (2.0.5): Extracting archive
- Installing phpspec/php-diff (v1.1.3): Extracting archive
- Installing yiisoft/yii2-gii (2.2.7): Extracting archive
- Installing symfony/mailer (v5.4.45): Extracting archive
- Installing yiisoft/yii2-symfonymailer (2.0.4): Extracting archive
27 package suggestions were added by new dependencies, usecomposer suggest
to see details.
Package codeception/phpunit-wrapper is abandoned, you should avoid using it. No replacement was suggested.
Package sebastian/resource-operations is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
55 packages you are using are looking for funding.
Use thecomposer fund
command to find out more!
No security vulnerability advisories found.
yii\composer\Installer::postCreateProject
chmod(‘runtime’, 0777)…done.
chmod(‘web/assets’, 0777)…done.
chmod(‘yii’, 0755)…done.
yii\composer\Installer::postInstall