git was not found, check that it is installed and in your PATH env.
[root@iZ8vb09sdqweqwej2plqZ rongsp.com]# composer require workerman/phpsocket.io
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
[RuntimeException]
Failed to clone https://gitee.com/fastadminnet/framework.git, git was not found, check that it is installed and in your PATH env.
sh: git: command not found
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-scripts] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>]...
没有安装git
yum install git
安装后,重新运行命令