Based on the \Swoole\Http\Server implementation of the coroutine HTTP service, the framework layer is well encapsulated, users can write code according to the traditional MVC way, you can get the ultra-high performance brought by the coroutine.
composer require swoft/http-server
Http life cycle
Understand the request life cycle, help understand the components of the HTTP service, and write better code.
Request processing flow
- PSR-7-based HTTP message implementation
- Middleware based on PSR-15
@Controllerflexible controller annotation
@RequestMappingflexible routing annotation
Participate in the contribution
Welcome to participate in the contribution, you can