step1:框架安装
官方文档
https://www.swoft.org/documents/v2/quick-start/install/
composer create-project swoft/swoft Swoft
swoftbin目录授权
chmod -R 755 /home/php/phpcode/swoft/Swoft/bin
启动swoft
文档参考
https://www.swoft.org/documents/v2/quick-start/run-server/
php ./bin/swoft http:start