[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded: failed loading cafile stream: `d:/openserver/modules/php/PHP-7-x64/cacert.pem'
Failed to enable crypto
failed to open stream: operation failed
composer global require "fxp/composer-asset-plugin:^1.4.2"
Changed current directory to C:/Users/nicu/AppData/Roaming/Composer
./composer.json has been updated
Loading composer repositories with package information
The "https://packagist.org/packages.json" file could not be downloaded: failed loading cafile stream: `d:/openserver/modules/php/PHP-7-x64/cacert.pem'
Failed to enable crypto
failed to open stream: operation failed
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)
- Installing fxp/composer-asset-plugin (v1.4.2)
Downloading: 100%
Downloading: 100%
Downloading: 100%
Failed to download fxp/composer-asset-plugin from dist: The "https://api.github.com/repos/fxpio/composer-asset-plugin/zipball/61352d99940d2b2392a5d2db83b8c0ef5faf222a" file could not be downloaded: failed loading cafile stream: `d:/openserver/modules/php/PHP-7-x64/cacert.pem'
Failed to enable crypto
failed to open stream: operation failed
Now trying to download from source
- Installing fxp/composer-asset-plugin (v1.4.2)
Cloning 61352d99940d2b2392a5d2db83b8c0ef5faf222a
[RuntimeException]
Failed to clone git@github.com:fxpio/composer-asset-plugin.git, git was not found, check that it is installed and in your PATH env.
<?php echo HTML::a('Главная', '/web/'); ?>
http://yii2.loc/post/index
http://yii2.loc/web/