{"id":19136977,"url":"https://github.com/singcl/swoft","last_synced_at":"2026-06-09T16:31:59.187Z","repository":{"id":94726723,"uuid":"190999558","full_name":"singcl/swoft","owner":"singcl","description":"php corutine","archived":false,"fork":false,"pushed_at":"2019-06-09T11:47:37.000Z","size":5958,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-29T22:36:55.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/singcl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2019-06-09T11:44:12.000Z","updated_at":"2019-06-09T11:49:13.000Z","dependencies_parsed_at":"2023-07-29T18:15:54.383Z","dependency_job_id":null,"html_url":"https://github.com/singcl/swoft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/singcl/swoft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fswoft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fswoft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fswoft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fswoft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/singcl","download_url":"https://codeload.github.com/singcl/swoft/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/singcl%2Fswoft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34116457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-09T06:36:02.042Z","updated_at":"2026-06-09T16:31:59.167Z","avatar_url":"https://github.com/singcl.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/swoft-cloud/swoft\" target=\"_blank\"\u003e\n        \u003cimg src=\"http://qiniu.daydaygo.top/swoft-logo.png?imageView2/2/w/300\" alt=\"swoft\"/\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n[![Latest Version](https://img.shields.io/badge/version-v2.0.1-green.svg?maxAge=2592000)](https://github.com/swoft-cloud/swoft/releases)\n[![Build Status](https://travis-ci.org/swoft-cloud/swoft.svg?branch=master)](https://travis-ci.org/swoft-cloud/swoft)\n[![Php Version](https://img.shields.io/badge/php-%3E=7.1-brightgreen.svg?maxAge=2592000)](https://secure.php.net/)\n[![Swoole Version](https://img.shields.io/badge/swoole-%3E=4.3.3-brightgreen.svg?maxAge=2592000)](https://github.com/swoole/swoole-src)\n[![Swoft Doc](https://img.shields.io/badge/docs-passing-green.svg?maxAge=2592000)](https://www.swoft.org/docs)\n[![Swoft License](https://img.shields.io/hexpm/l/plug.svg?maxAge=2592000)](https://github.com/swoft-cloud/swoft/blob/master/LICENSE)\n\n⚡️ Modern High performance AOP and Coroutine PHP Framework, base on Swoole\n\n## Feature\n\n- Built-in high performance network server(Http/Websocket/RPC)\n- Flexible componentization\n- Flexible annotation function\n- Diversified command terminal(Console)\n- Powerful Aspect Oriented Programming（AOP）\n- Perfect Container management、Dependency Injection (DI)\n- Flexible event mechanism\n- Implementation of HTTP message based on PSR-7\n- Event Manager Based on PSR-14\n- Middleware based on PSR-15\n- Internationalization(i18n) support\n- Simple and efficient parameter validator\n- High performance connection pool(Mysql/Redis/RPC)，Automatic reconnection \n- Database is highly compatible Laravel\n- Cache Redis highly compatible Laravel\n- Efficient task processing\n- Flexible exception handling\n- Powerful log system\n\n## Document\n\n[中文](https://www.swoft.org/docs/2.x/zh-CN/README.html)\n\n[English](https://www.swoft.org/docs/2.x/zh-CN/README.html)\n\nQQ Group1: 548173319      \nQQ Group2: 778656850\n\n## Requirement\n\n- [PHP 7.1 +](https://github.com/php/php-src/releases)\n- [Swoole 4.3.4 + ](https://github.com/swoole/swoole-src/releases)\n- [Composer](https://getcomposer.org/)\n\n## Install\n\n### Composer\n\n* `composer create-project swoft/swoft swoft`\n\n## Start\n\n```\n[root@swoft swoft]# php bin/swoft http:start\n2019/06/02-11:18:06 [INFO] Swoole\\Runtime::enableCoroutine\n2019/06/02-11:18:06 [INFO] Swoft\\SwoftApplication:__construct(14) Set alias @base=/data/www/swoft\n2019/06/02-11:18:06 [INFO] Swoft\\SwoftApplication:__construct(14) Set alias @app=@base/app\n2019/06/02-11:18:06 [INFO] Swoft\\SwoftApplication:__construct(14) Set alias @config=@base/config\n2019/06/02-11:18:06 [INFO] Swoft\\SwoftApplication:__construct(14) Set alias @runtime=@base/runtime\n2019/06/02-11:18:06 [INFO] Project path is /data/www/swoft\n2019/06/02-11:18:06 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) Env file(/data/www/swoft/.env) is loaded\n2019/06/02-11:18:11 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) Annotations is scanned(autoloader 23, annotation 226, parser 57)\n2019/06/02-11:18:11 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) config path=/data/www/swoft/config\n2019/06/02-11:18:11 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) config env=\n2019/06/02-11:18:11 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) Bean is initialized(singleton 144, prototype 41, definition 30)\n2019/06/02-11:18:11 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) Event manager initialized(30 listener, 3 subscriber)\n2019/06/02-11:18:11 [INFO] Swoft\\Event\\Manager\\EventManager:triggerListeners(324) WebSocket server route registered(module 2, message command 3)\n2019/06/02-11:18:11 [INFO] Swoft\\Event\\Manager\\EventManager:triggerListeners(324) Error manager init completed(2 type, 3 handler, 3 exception)\n2019/06/02-11:18:11 [INFO] Swoft\\Processor\\ApplicationProcessor:handle(221) Console command route registered (group 14, command 5)\n                            Information Panel\n  ***********************************************************************\n  * HTTP     | Listen: 0.0.0.0:18306, type: TCP, mode: Process, worker: 1\n  * rpc      | Listen: 0.0.0.0:18307, type: TCP\n  ***********************************************************************\n\nHTTP server start success !\n2019/06/02-11:18:11 [INFO] Swoft\\Event\\Manager\\EventManager:triggerListeners(324) Registered swoole events:\n start, shutdown, managerStart, managerStop, workerStart, workerStop, workerError, request, task, finish\nServer start success (Master PID: 249, Manager PID: 250)\n```\n\n## License\n\nSwoft is an open-source software licensed under the [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingcl%2Fswoft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsingcl%2Fswoft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsingcl%2Fswoft/lists"}