{"id":13703805,"url":"https://github.com/easy-swoole/easyswoole","last_synced_at":"2025-05-13T18:07:05.636Z","repository":{"id":22218260,"uuid":"85067860","full_name":"easy-swoole/easyswoole","owner":"easy-swoole","description":"swoole,easyswoole,swoole framework","archived":false,"fork":false,"pushed_at":"2024-03-26T07:09:51.000Z","size":2927,"stargazers_count":4758,"open_issues_count":38,"forks_count":511,"subscribers_count":141,"default_branch":"3.x","last_synced_at":"2025-04-25T14:50:32.310Z","etag":null,"topics":["coroutine","easyswoole","swoole","swoole-framework","tcp-server","websocket-server"],"latest_commit_sha":null,"homepage":"https://www.easyswoole.com/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easy-swoole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-15T12:07:54.000Z","updated_at":"2025-04-25T13:59:21.000Z","dependencies_parsed_at":"2024-01-12T10:25:59.663Z","dependency_job_id":"5a84dd43-299d-49f4-9559-d0c171aa9d0b","html_url":"https://github.com/easy-swoole/easyswoole","commit_stats":{"total_commits":1418,"total_committers":47,"mean_commits":"30.170212765957448","dds":0.4837799717912553,"last_synced_commit":"866002bfbb0f340ba9cff411df48e2e0171bf8c6"},"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easy-swoole%2Feasyswoole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easy-swoole%2Feasyswoole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easy-swoole%2Feasyswoole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easy-swoole%2Feasyswoole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easy-swoole","download_url":"https://codeload.github.com/easy-swoole/easyswoole/tar.gz/refs/heads/3.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254000848,"owners_count":21997441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coroutine","easyswoole","swoole","swoole-framework","tcp-server","websocket-server"],"created_at":"2024-08-02T21:01:00.264Z","updated_at":"2025-05-13T18:07:05.583Z","avatar_url":"https://github.com/easy-swoole.png","language":"PHP","funding_links":[],"categories":["目录","武器库","框架( Frameworks )","Framework"],"sub_categories":["框架 frameworks","后端"],"readme":"English | [中文](./README_CN.md)\n\n![](easyswoole.png)\n\n[![Latest Stable Version](https://poser.pugx.org/easyswoole/easyswoole/v/stable)](https://packagist.org/packages/easyswoole/easyswoole)\n[![Total Downloads](https://poser.pugx.org/easyswoole/easyswoole/downloads)](https://packagist.org/packages/easyswoole/easyswoole)\n[![Latest Unstable Version](https://poser.pugx.org/easyswoole/easyswoole/v/unstable)](https://packagist.org/packages/easyswoole/easyswoole)\n[![License](https://poser.pugx.org/easyswoole/easyswoole/license)](https://packagist.org/packages/easyswoole/easyswoole)\n[![Monthly Downloads](https://poser.pugx.org/easyswoole/easyswoole/d/monthly)](https://packagist.org/packages/easyswoole/easyswoole)\n\n\n# EasySwoole - A High Performance Swoole Framework\n\n[EasySwoole](http://www.easyswoole.com/) is a distributed, persistent memory PHP framework based on the Swoole extension. It was created specifically for APIs to get rid of the performance penalties associated with process calls and file loading. EasySwoole highly encapsulates the Swoole Server and still maintains the original features of the Swoole server, supports simultaneous monitoring of HTTP, custom TCP, and UDP protocols, allowing developers to write multi-process, asynchronous, and highly available applications with minimal learning cost and effort.\n          \n- Base on Swoole extension\n- Built-in HTTP, TCP, WebSocket,Udp Coroutine Server\n- Global dependency injection container\n- PSR-7 based HTTP message implementation\n- HTTP,TCP, WebSocket, Udp middleware support\n- Scalable high performance RPC\n- Database ORM\n- Mysql, Redis, RPC, HTTP Coroutine Clients\n- Coroutine and asynchronous task delivery\n- Custom user processes\n- RESTful supported\n- High performance router\n- Fast and flexible parameter validator\n- Powerful log component\n- Universal connection pools\n- Remote Console support\n- Crontab Rule Timer support\n\n## Doc \n\n- [Doc](http://www.easyswoole.com)\n- [中文文档](http://www.easyswoole.com)\n- [Git For Doc](https://github.com/easy-swoole/doc-3.7)\n\n## ab Test\n\n```php\n\u003c?php\n\nnamespace App\\HttpController;\n\nuse EasySwoole\\Http\\AbstractInterface\\Controller;\n\n\n/**\n * Class Index\n * @package App\\HttpController\n */\nclass Index extends Controller\n{\n    public function index()\n    {\n        $this-\u003eresponse()-\u003ewrite('Hello World');\n    }\n}\n```\n\n### 1 Core 1G RAM\n\n\u003e command : ab -c 100 -n 10000 http://192.168.0.11:9501/\n\n```\nServer Software:        EasySwoole\nServer Hostname:        192.168.0.11\nServer Port:            9501\n\nDocument Path:          /\nDocument Length:        21 bytes\n\nConcurrency Level:      100\nTime taken for tests:   0.652 seconds\nComplete requests:      10000\nFailed requests:        0\nWrite errors:           0\nTotal transferred:      1690000 bytes\nHTML transferred:       210000 bytes\nRequests per second:    15325.16 [#/sec] (mean)\nTime per request:       9.685 [ms] (mean)\nTime per request:       0.097 [ms] (mean, across all concurrent requests)\nTransfer rate:          2592.05 [Kbytes/sec] received\n```\n\n### 8 Core 16G RAM\n\n\u003e command : ab -c 100 -n 10000 http://192.168.0.4:9501/\n\n```\nServer Software:        EasySwoole\nServer Hostname:        192.168.0.4\nServer Port:            9501\n\nDocument Path:          /\nDocument Length:        21 bytes\n\nConcurrency Level:      100\nTime taken for tests:   0.746 seconds\nComplete requests:      10000\nFailed requests:        0\nWrite errors:           0\nTotal transferred:      1690000 bytes\nHTML transferred:       210000 bytes\nRequests per second:    66935.97 [#/sec] (mean)\nTime per request:       1.149 [ms] (mean)\nTime per request:       0.015 [ms] (mean, across all concurrent requests)\nTransfer rate:          2265.40 [Kbytes/sec] received\n```\n\n## Quick Start\n```\ncomposer require easyswoole/easyswoole=3.7.x\nphp vendor/bin/easyswoole.php install\nphp easyswoole.php server start\n```\n\n## Docker\n### Get Docker Image\n```\ndocker pull easyswoolexuesi2021/easyswoole:php8.1.22-alpine3.16-swoole4.8.13\n```\n\u003e More Docker images can be viewed：[Docker Hub](https://hub.docker.com/r/easyswoolexuesi2021/easyswoole) or [Git for Dockerfile](https://github.com/XueSiLf/easyswoole-docker)\n\n### Run\n\n```\ndocker run --name easyswoole \\\n-v /workspace/project:/var/www/project \\\n-p 9501:9501 -it \\\n--privileged -u root \\\n--entrypoint /bin/sh \\\neasyswoolexuesi2021/easyswoole:php8.1.22-alpine3.16-swoole4.8.13\n```\n- WorkerDir: ***/var/www***\n- Run Easyswoole : \n```bash\ncomposer require easyswoole/easyswoole=3.7.x\nphp vendor/bin/easyswoole.php install\nphp easyswoole.php server start\n```\n\n## Others \n- [Git For Demo](https://github.com/easy-swoole/demo)\n- QQ交流群\n    - VIP群 579434607 （本群需要付费599元）\n    - EasySwoole官方一群 633921431(已满)\n    - EasySwoole官方二群 709134628(已满)\n    - EasySwoole官方三群 932625047(已满)\n    - EasySwoole官方四群 779897753(已满)\n    - EasySwoole官方五群 853946743(已满)\n    - EasySwoole官方六群 524475224\n    \n- 商业支持：\n    - QQ 291323003\n    - EMAIL admin@fosuss.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasy-swoole%2Feasyswoole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasy-swoole%2Feasyswoole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasy-swoole%2Feasyswoole/lists"}