{"id":35190304,"url":"https://github.com/overlu/mini","last_synced_at":"2025-12-29T05:38:15.909Z","repository":{"id":48573603,"uuid":"286044532","full_name":"overlu/mini","owner":"overlu","description":"https://github.com/overlu/mini/wiki","archived":false,"fork":false,"pushed_at":"2024-10-16T06:37:09.000Z","size":176,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-17T13:58:46.811Z","etag":null,"topics":[],"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/overlu.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}},"created_at":"2020-08-08T13:04:23.000Z","updated_at":"2024-10-16T06:34:46.000Z","dependencies_parsed_at":"2023-11-23T10:27:18.322Z","dependency_job_id":"51f39c47-5655-4fe7-bd14-bce7b2e96f9d","html_url":"https://github.com/overlu/mini","commit_stats":{"total_commits":117,"total_committers":5,"mean_commits":23.4,"dds":0.6837606837606838,"last_synced_commit":"0350a41759e91866d1f4f2464b2caf9dbff84436"},"previous_names":[],"tags_count":80,"template":false,"template_full_name":null,"purl":"pkg:github/overlu/mini","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overlu%2Fmini","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overlu%2Fmini/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overlu%2Fmini/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overlu%2Fmini/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/overlu","download_url":"https://codeload.github.com/overlu/mini/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/overlu%2Fmini/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28111186,"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-12-29T02:00:07.021Z","response_time":58,"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":"2025-12-29T05:38:13.288Z","updated_at":"2025-12-29T05:38:15.902Z","avatar_url":"https://github.com/overlu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mini, 基于`swoole4+`和`php8`的协程框架\r\n\r\n```\r\n _______ _____ __   _ _____\r\n |  |  |   |   | \\  |   |\r\n |  |  | __|__ |  \\_| __|__   3.0.1\r\n\r\n**********************************************************************************************\r\n* App Information    | Name: Mini, Env: Local, Timezone: UTC\r\n* System Information | OS: Linux-4.4.0-22621-Microsoft-x86_64, PHP: 8.1.27, Swoole: 4.8.10\r\n**********************************************************************************************\r\n\r\n2024/01/05 08:57:00 🚀 mini http server [8 workers] running：0.0.0.0:9501...\r\n2024/01/05 08:57:00 👀 watching start...\r\n2024/01/05 08:57:00 📡 watching [40] files...\r\n\r\n```\r\n\r\n### Install Mini\r\n```bash\r\ncomposer create-project overlu/mini\r\n```\r\n\r\n### Run Mini\r\n```bash\r\nphp bin/mini start\r\n```\r\n\r\n### More\r\n[View Wiki](https://github.com/overlu/mini/wiki)\r\n\r\n### Performance Testing\r\n__2CPU/2G__\r\n```bash\r\n➜  ab -n 5000 -c 10 http://127.0.0.1:9501/\r\nThis is ApacheBench, Version 2.3 \u003c$Revision: 1843412 $\u003e\r\nCopyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\r\nLicensed to The Apache Software Foundation, http://www.apache.org/\r\n\r\nBenchmarking 127.0.0.1 (be patient)\r\nCompleted 500 requests\r\nCompleted 1000 requests\r\nCompleted 1500 requests\r\nCompleted 2000 requests\r\nCompleted 2500 requests\r\nCompleted 3000 requests\r\nCompleted 3500 requests\r\nCompleted 4000 requests\r\nCompleted 4500 requests\r\nCompleted 5000 requests\r\nFinished 5000 requests\r\n\r\n\r\nServer Software:        Mini\r\nServer Hostname:        127.0.0.1\r\nServer Port:            9501\r\n\r\nDocument Path:          /\r\nDocument Length:        141 bytes\r\n\r\nConcurrency Level:      10\r\nTime taken for tests:   0.714 seconds\r\nComplete requests:      5000\r\nFailed requests:        0\r\nTotal transferred:      1730000 bytes\r\nHTML transferred:       705000 bytes\r\nRequests per second:    6998.25 [#/sec] (mean)\r\nTime per request:       1.429 [ms] (mean)\r\nTime per request:       0.143 [ms] (mean, across all concurrent requests)\r\nTransfer rate:          2364.64 [Kbytes/sec] received\r\n\r\nConnection Times (ms)\r\n              min  mean[+/-sd] median   max\r\nConnect:        0    0   0.2      0       2\r\nProcessing:     0    1   0.4      1       4\r\nWaiting:        0    1   0.4      1       4\r\nTotal:          1    1   0.4      1       5\r\n\r\nPercentage of the requests served within a certain time (ms)\r\n  50%      1\r\n  66%      1\r\n  75%      2\r\n  80%      2\r\n  90%      2\r\n  95%      2\r\n  98%      3\r\n  99%      3\r\n 100%      5 (longest request)\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foverlu%2Fmini","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foverlu%2Fmini","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foverlu%2Fmini/lists"}