D:\WWW\dance>composer require topthink/think-captcha 1.*
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing topthink/think-captcha (v1.0.7): Downloading (failed) Downloading (failed) Downloading (failed) Failed to download topthink/think-captcha from dist: The "https://api.github.com/repos/top-think/think-captcha/zipball/0c55455df26a1626a60d0dc35d2d89002b741d44" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version Failed to enable crypto failed to open stream: operation failed Now trying to download from source
-
Installing topthink/think-captcha (v1.0.7): Cloning 0c55455df2
[RuntimeException]
Failed to clone https://github.com/top-think/think-captcha.git, git was not found, check that it is installed and i
n your PATH env.'git' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] []...