1.切换composer 源
//这一个镜像源 安装easyswoole不行,
composer config -g repo.packagist composer https://packagist.phpcomposer.com
//这一镜像源OK的
composer config -g repo.packagist composer https://packagist.laravel-china.org
2.安装easyswoole
composer create-project easyswoole/app easyswoole