{"id":13404917,"url":"https://github.com/swooletw/laravel-swoole","last_synced_at":"2025-10-05T17:31:18.536Z","repository":{"id":37385166,"uuid":"109706738","full_name":"swooletw/laravel-swoole","owner":"swooletw","description":"High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.","archived":true,"fork":false,"pushed_at":"2025-03-24T07:00:14.000Z","size":787,"stargazers_count":4045,"open_issues_count":40,"forks_count":391,"subscribers_count":110,"default_branch":"master","last_synced_at":"2025-06-01T16:20:24.423Z","etag":null,"topics":["laravel","laravel-swoole","lumen","php","socket-io","swoole","swoole-http","swoole-server","websocket"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swooletw.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-11-06T14:37:03.000Z","updated_at":"2025-05-23T07:51:08.000Z","dependencies_parsed_at":"2024-01-12T10:25:59.520Z","dependency_job_id":"a20fff67-c399-481a-81ea-f134cba12366","html_url":"https://github.com/swooletw/laravel-swoole","commit_stats":{"total_commits":656,"total_committers":49,"mean_commits":"13.387755102040817","dds":"0.31859756097560976","last_synced_commit":"27bfd2ffc2576961c28fb330a0ea4f5b4090357b"},"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"purl":"pkg:github/swooletw/laravel-swoole","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swooletw%2Flaravel-swoole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swooletw%2Flaravel-swoole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swooletw%2Flaravel-swoole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swooletw%2Flaravel-swoole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swooletw","download_url":"https://codeload.github.com/swooletw/laravel-swoole/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swooletw%2Flaravel-swoole/sbom","scorecard":{"id":862299,"data":{"date":"2025-08-11","repo":{"name":"github.com/swooletw/laravel-swoole","commit":"475d633d9eeff527bd7ee08d7273fb5aae8326e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Code-Review","score":6,"reason":"Found 8/13 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/swooletw/laravel-swoole/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/swooletw/laravel-swoole/tests.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T01:39:12.622Z","repository_id":37385166,"created_at":"2025-08-24T01:39:12.622Z","updated_at":"2025-08-24T01:39:12.622Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278487150,"owners_count":25995123,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"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":["laravel","laravel-swoole","lumen","php","socket-io","swoole","swoole-http","swoole-server","websocket"],"created_at":"2024-07-30T19:01:53.211Z","updated_at":"2025-10-05T17:31:18.530Z","avatar_url":"https://github.com/swooletw.png","language":"PHP","funding_links":[],"categories":["PHP","Framework Integration","目录","框架( Frameworks )","Other","工具推荐","Integration"],"sub_categories":["框架 frameworks","Mathematics"],"readme":"\u003e **Warning**\n\u003e\n\u003e This package is no longer maintained, we strongly recommend using Laravel's official [laravel/octane](https://github.com/laravel/octane) as an alternative. \n\u003e \n\u003e If you need coroutine support, consider trying [Hypervel](https://github.com/hypervel/hypervel) for higher performance (This is a Laravel-style coroutine framework.)\n\n# Laravel-Swoole\n\n![php-badge](https://img.shields.io/badge/php-%3E%3D%207.2-8892BF.svg)\n[![packagist-badge](https://img.shields.io/packagist/v/swooletw/laravel-swoole.svg)](https://packagist.org/packages/swooletw/laravel-swoole)\n[![Total Downloads](https://poser.pugx.org/swooletw/laravel-swoole/downloads)](https://packagist.org/packages/swooletw/laravel-swoole)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/swooletw/laravel-swoole/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/swooletw/laravel-swoole/?branch=master)\n[![travis-badge](https://api.travis-ci.org/swooletw/laravel-swoole.svg?branch=master)](https://travis-ci.org/swooletw/laravel-swoole)\n\nThis package provides a high performance HTTP server to speed up your Laravel/Lumen application based on [Swoole](http://www.swoole.com/).\n\n## Version Compatibility\n\n| PHP     | Laravel | Lumen | Swoole  |\n|:-------:|:-------:|:-----:|:-------:|\n| \u003e=7.2 | \u003e=5.5    | \u003e=5.5  | \u003e=4.3.1 |\n\n## Features\n\n* Run **Laravel/Lumen** application on top of **Swoole**.\n* Outstanding performance boosting up to **5x** faster.\n* Sandbox mode to isolate app container.\n* Support running websocket server in **Laravel**.\n* Support `Socket.io` protocol.\n* Support Swoole table for cross-process data sharing.\n\n## Documentation\n\nPlease see [Wiki](https://github.com/swooletw/laravel-swoole/wiki)\n\n## Benchmark\n\nTest with clean Lumen 5.6, using DigitalOcean 3 CPUs / 1 GB Memory / PHP 7.2 / Ubuntu 16.04.4 x64\n\nBenchmarking Tool: [wrk](https://github.com/wg/wrk)\n\n```\nwrk -t4 -c100 http://your.app\n```\n\n### Nginx with FPM\n\n```\nwrk -t4 -c10 http://lumen-swoole.local\n\nRunning 10s test @ http://lumen-swoole.local\n  4 threads and 10 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency     6.41ms    1.56ms  19.71ms   71.32%\n    Req/Sec   312.99     28.71   373.00     72.00%\n  12469 requests in 10.01s, 3.14MB read\nRequests/sec:   1245.79\nTransfer/sec:    321.12KB\n```\n\n### Swoole HTTP Server\n\n```\nwrk -t4 -c10 http://lumen-swoole.local:1215\n\nRunning 10s test @ http://lumen-swoole.local:1215\n  4 threads and 10 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency     2.39ms    4.88ms 105.21ms   94.55%\n    Req/Sec     1.26k   197.13     1.85k    68.75%\n  50248 requests in 10.02s, 10.88MB read\nRequests/sec:   5016.94\nTransfer/sec:      1.09MB\n```\n\n## Q\u0026A\n\nThe common questions are collected in [Q\u0026A](https://github.com/swooletw/laravel-swoole/wiki/Z4.-Q\u0026A). You can go check if your question is listed in the document.\n\n## Issues and Support\n\nPlease read [Issues Guideline](https://github.com/swooletw/laravel-swoole/wiki/Z2.-Issues-Guideline) before you submit an issue, thanks.\n\nBugs and feature request are tracked on [GitHub](https://github.com/swooletw/laravel-swoole/issues).\n\n## Credits\n\n[Huang-Yi](https://github.com/huang-yi), \u003ca href=\"https://unisharp.com\"\u003e\u003cimg src=\"https://i.imgur.com/TjyJIoO.png\" width=\"160\"\u003e\u003c/a\u003e\n\n## Alternatives\n\n* [laravel-s](https://github.com/hhxsv5/laravel-s)\n\n## License\n\nThe Laravel-Swoole package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n\n## Support on Beerpay\nHey dude! Help me out for a couple of :beers:!\n\n[![Beerpay](https://beerpay.io/swooletw/laravel-swoole/badge.svg?style=beer-square)](https://beerpay.io/swooletw/laravel-swoole)  [![Beerpay](https://beerpay.io/swooletw/laravel-swoole/make-wish.svg?style=flat-square)](https://beerpay.io/swooletw/laravel-swoole?focus=wish)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswooletw%2Flaravel-swoole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswooletw%2Flaravel-swoole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswooletw%2Flaravel-swoole/lists"}