Swoft

Latest Stable Version Build Status Docker Build Status Php Version Swoole Version Swoft Doc Swoft License Gitter

Start-http-server

The first new generation of PHP high-performance coroutine full stack framework based on Swoole native coroutine, built-in coroutine web server and common coroutine client, resident memory, independent of traditional PHP-FPM, full asynchronous non-blocking IO implementation It uses asynchronous client-side writing to implement asynchronous client. There is no complicated asynchronous callback, no complicated yield, similar Go-like coroutines, flexible annotations, powerful global dependency injection container, perfect service governance, and flexibility. Powerful AOP, standard PSR specification implementations, etc., can be used to build high-performance Web systems, APIs, middleware, basic services, and more.

  • Based on Swoole extension
  • Built-in coroutine web server (Http/Websocket/RPC/TCP)
  • High performance routing
  • Powerful AOP (for faceted programming)
  • Flexible annotation function
  • Global dependency injection container
  • PSR-7-based HTTP message implementation
  • PSR-11-based container specification implementation
  • PSR-14 based event manager
  • Middleware based on PSR-15
  • PSR-16 based cache design
  • Scalable, high performance RPC
  • RESTful support
  • Internationalization (i18n) support
  • Fast and flexible parameter validator
  • Complete service governance, fusing, downgrading, loading, registration and discovery
  • Universal connection pool Mysql, Redis, RPC
  • Database ORM
  • Coroutine, asynchronous task delivery
  • Custom user process
  • Powerful logging system

Project address https://github.com/swoft-cloud/swoft

/docs/2.x/en/README.html
progress-bar