пробовал устанавливать 2-мя способами: в первом требует ввести токен с Github, а во 2-м из архива пишет что: "В файл config/web.php нужно прописать секретный ключ в значение cookieValidationKey (при установке через Composer это происходит автоматически)" вот только где находиться этот файл и какой именно ключ необходимо ввести?
Код установки XAMPP
user@DESKTOP-OKASEM6 MINGW64 /d/xampp/htdocs/yii.loc $ composer global require "fxp/composer-asset-plugin:^1.2.0" Changed current directory to C:/Users/user/AppData/Roaming/Composer Deprecation Notice: The Composer\Package\LinkConstraint\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead. in phar://C :/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Package/LinkConstrain t/MultiConstraint.php:17 Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface inst ead. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Packa ge/LinkConstraint/LinkConstraintInterface.php:17
[ReflectionException] Class Fxp\Composer\AssetPlugin\Repository\NpmRepository does not exist
[ErrorException]
Declaration of Fxp\Composer\AssetPlugin\Repository\AbstractAssetsRepository::w hatProvides(Composer\DependencyResolv
er\Pool $pool, $name) should be compatible with Composer\Repository\ComposerRe pository::whatProvides(Composer\Depen
dencyResolver\Pool $pool, $name, $bypassFilters = false)
global []...
user@DESKTOP-OKASEM6 MINGW64 /d/xampp/htdocs/yii.loc $ composer create-project yiisoft/yii2-app-advanced./2.0.12 Deprecation Notice: The Composer\Package\LinkConstraint\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead. in phar://C :/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Package/LinkConstrain t/MultiConstraint.php:17 Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface inst ead. in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Packa ge/LinkConstraint/LinkConstraintInterface.php:17
[InvalidArgumentException] Could not find package yiisoft/yii2-app-advanced./2.0.12 with stability stable.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--s] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [
user@DESKTOP-OKASEM6 MINGW64 /d/xampp/htdocs/yii.loc $
Возможно, что-то не так с плагином asset - пробовал командой composer global require "fxp/composer-asset-plugin:^1.3.1" может, его ещё отдельно надо как-то устанавливать? уже 2 дня мучаюсь с этим. нормально скачались файлы только через архив и там есть папка vendor, но файл config/web.php нигде не найти. а через Composer полный треш.. если вводить команды со словом PHAR - то открывается просто редактор с файлом.