{"id":21556967,"url":"https://github.com/getpinga/vizima","last_synced_at":"2025-10-13T04:09:16.722Z","repository":{"id":142686673,"uuid":"613929631","full_name":"getpinga/vizima","owner":"getpinga","description":"Vizima is a high-performance API micro-framework designed to help you create powerful APIs in PHP. This project is a port of the popular Mark framework to Swoole.","archived":false,"fork":false,"pushed_at":"2023-03-18T14:19:47.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T04:09:13.478Z","etag":null,"topics":["api","fast","php","swoole"],"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/getpinga.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":"2023-03-14T14:51:41.000Z","updated_at":"2023-03-14T17:15:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"0db11eb6-0dfd-4c7c-88b1-ead649af107d","html_url":"https://github.com/getpinga/vizima","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/getpinga/vizima","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getpinga%2Fvizima","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getpinga%2Fvizima/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getpinga%2Fvizima/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getpinga%2Fvizima/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getpinga","download_url":"https://codeload.github.com/getpinga/vizima/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getpinga%2Fvizima/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013594,"owners_count":26085389,"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-13T02:00:06.723Z","response_time":61,"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":["api","fast","php","swoole"],"created_at":"2024-11-24T08:10:31.220Z","updated_at":"2025-10-13T04:09:16.701Z","avatar_url":"https://github.com/getpinga.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vizima\n\n[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\n\n[![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://github.com/vshymanskyy/StandWithUkraine/blob/main/docs/README.md)\n\n\u003cdiv style=\"text-align:center\"\u003e\n  \u003cimg src=\"https://getpinga.com/vizima.svg\" alt=\"Vizima\" width=\"200\"\u003e\n\u003c/div\u003e\n\nVizima is a high-performance API micro-framework designed to help you create powerful APIs in PHP. This project is a port of the popular [Mark](https://github.com/passwalls/mark) framework to Swoole.\n\n## Install\n\n```\ncomposer require pinga/vizima\n```\n\n## Usage\n\n```php\n# start.php\n\n\u003c?php\n\nrequire 'vendor/autoload.php';\n\n$app = new \\Vizima\\App('0.0.0.0', 8080);\n\n$app-\u003eget('/', function() {\n    return '\u003ch1\u003eHello, world!\u003c/h1\u003e';\n});\n\n$app-\u003eget('/hello/{name}', function (Swoole\\Http\\Request $request, $name) {\n    return \"Hello $name\";\n});\n\n$app-\u003epost('/user/create', function () {\n    return json_encode(['code'=\u003e0 ,'message' =\u003e 'ok']);\n});\n\n$app-\u003estart();\n```\n\nRun command ```php start.php```\n\nGoing to http://127.0.0.1:3000/hello/world will now display \"Hello world\".\n\n## Benchmark\n\n```\nThread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency     3.07ms    4.27ms  92.46ms   92.61%\n    Req/Sec     2.56k   801.21    17.84k    67.79%\n  1221250 requests in 30.10s, 203.82MB read\nRequests/sec:  40575.11\nTransfer/sec:      6.77MB\n```\n\n## Support\n\nIf you have any problems, do not heasitate to open an Issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetpinga%2Fvizima","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetpinga%2Fvizima","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetpinga%2Fvizima/lists"}