Tcp server

Starting with the swowt 2.0.4 release, a tcp server implementation is provided in the swoft package. Based on the original swoole server, the function is encapsulated and refined.

Available: >= v2.0.4


  • Swoft-based annotation system, easy to use and fast
  • Provide uniform protocol settings, support both EOF and length
  • Complete data transceiving and parsing, unified context/request and response object encapsulation
  • Built-in request scheduling processing, you can distribute request data to different methods like http.
  • Built-in supports a variety of packaging methods ( json php token ), and can be freely extended.


 composer require swoft/tcp-server 

Git warehouse

Participate in the contribution

Welcome to participate in the contribution, you can

  • Fork our development warehouse swewt/component
  • Modify the code and then initiate the PR
  • About PR launch of Notes