SpringPHP是一款基于Swoole的高性能框架
当前属于测试阶段,请勿用于生产环境
composer require lys/spring-php=dev-main
cp vendor/lys/spring-php/tests/spring-php ./spring-php //复制启动脚本spring-php
php spring-php installDemo //安装demo案例,可自由删减不需要的部分
composer require smarty/smarty //demo案例依赖smarty模板来渲染视图
php spring-php start //守护模式需要在start后面加 -d
////////////////////////////////////////////////////////////////////
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ //
// SpringPHP //
// https://github.com/1107012776/spring-php //
////////////////////////////////////////////////////////////////////
php spring-php stop
php spring-php reload
php spring-php process
spring-php
\_ spring-php.Manager
| \_ spring-php.task.2 pid=29352
| \_ spring-php.task.3 pid=29354
| \_ spring-php.worker.0 listen:0.0.0.0:7999
| \_ spring-php.worker.1 listen:0.0.0.0:7999
| \_ spring-php RenderWorker unix worker pid=29363
| \_ spring-php RenderWorker unix worker pid=29364
| \_ spring-php RenderWorker unix worker pid=29365
| \_ spring-php.Crontab worker pid=29368
\_ spring-php.Manager
| \_ spring-php.task.2 pid=29349
| \_ spring-php.task.3 pid=29350
| \_ spring-php.worker.0 listen:0.0.0.0:8098
| \_ spring-php.worker.1 listen:0.0.0.0:8098
| \_ spring-php RenderWorker worker pid=29357 listen:0.0.0.0:8099
| \_ spring-php RenderWorker worker pid=29369 listen:0.0.0.0:8100
\_ spring-php.Manager
\_ spring-php.task.2 pid=29358
\_ spring-php.task.3 pid=29359
\_ spring-php.worker.0 listen:0.0.0.0:8297
\_ spring-php.worker.1 listen:0.0.0.0:8297
\_ spring-php RenderWorker worker pid=29366 listen:0.0.0.0:8298
\_ spring-php RenderWorker worker pid=29367 listen:0.0.0.0:8299