{"id":13418260,"url":"https://github.com/swoole/phpx","last_synced_at":"2026-04-02T14:51:16.079Z","repository":{"id":47663828,"uuid":"91668676","full_name":"swoole/phpx","owner":"swoole","description":"C++ wrapper for Zend API","archived":false,"fork":false,"pushed_at":"2026-03-26T09:22:27.000Z","size":1424,"stargazers_count":844,"open_issues_count":0,"forks_count":103,"subscribers_count":71,"default_branch":"master","last_synced_at":"2026-03-27T03:24:53.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","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/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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-05-18T08:30:22.000Z","updated_at":"2026-03-26T09:22:31.000Z","dependencies_parsed_at":"2024-01-12T10:26:10.908Z","dependency_job_id":"4382f856-253c-4042-8438-6bf152041d6b","html_url":"https://github.com/swoole/phpx","commit_stats":null,"previous_names":["swoole/php-x","matyhtf/phpx"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/swoole/phpx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoole%2Fphpx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoole%2Fphpx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoole%2Fphpx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoole%2Fphpx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swoole","download_url":"https://codeload.github.com/swoole/phpx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swoole%2Fphpx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31308446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-07-30T22:01:00.224Z","updated_at":"2026-04-02T14:51:16.074Z","avatar_url":"https://github.com/swoole.png","language":"C++","funding_links":[],"categories":["TODO scan for Android support in followings","C++","扩展编写"],"sub_categories":[],"readme":"\u003ch1 align=center\u003e\n\u003cimg width=\"400\" alt=\"Swoole Logo\" src=\"logo.png\" /\u003e\n\u003c/h1\u003e\n\n[![Twitter](https://badgen.net/badge/icon/twitter?icon=twitter\u0026label)](https://twitter.com/phpswoole)\n[![Discord](https://badgen.net/badge/icon/discord?icon=discord\u0026label)](https://discord.swoole.dev)\n[![Build Status](https://github.com/matyhtf/phpx/workflows/libphpx/badge.svg)](https://github.com/matyhtf/phpx/actions?query=workflow%3Alibphpx)\n[![License](https://img.shields.io/badge/license-apache2-blue.svg)](LICENSE)\n[![Latest Release](https://img.shields.io/github/release/swoole/phpx.svg)](https://github.com/swoole/phpx/releases/)\n[![Codecov](https://codecov.io/gh/swoole/phpx/branch/master/graph/badge.svg)](https://codecov.io/gh/swoole/phpx)\n\nC++ wrapper for Zend API\n\n## Requirements\n\n- PHP 8.1 or later\n- Linux/macOS/Windows\n- GCC 4.8 or later\n- Composer\n\n## Build libphpx.so\n```shell\ncmake .\nmake -j 4\nsudo make install\nsudo ldconfig\n```\n\n## Create Project\n```shell\n# extension\ncomposer create-project swoole/phpx-ext test\n```\n\n## Generate ArgInfo \u0026 Function Entires\n```shell\nphp vendor/swoole/phpx/bin/gen_stub.php your_stub_dir\n```\n\n## Build extension\n```shell\ncd test\ncmake .\nmake -j 4\nmake install\n```\n\n## Load your extension\nEdit `php.ini`, add `extension=test.so`\n\n## Run\n```shell\nphp echo.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswoole%2Fphpx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswoole%2Fphpx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswoole%2Fphpx/lists"}