Hyperf 环境配置和安装


安装 PHP 环境

# PHP 7.3.19
# Swoole 4.5.2
# Composer 1.10.10

配置阿里云镜像源

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

安装 Hyperf

composer create-project hyperf/hyperf-skeleton

Docker 方式安装

docker run -v D:\wamp\www\html\hyperf:/hyperf-skeleton -p 9501:9501 -it --entrypoint /bin/sh hyperf/hyperf:latest