{"id":13793144,"url":"https://github.com/twirphp/twirp","last_synced_at":"2026-03-04T18:31:42.057Z","repository":{"id":31309225,"uuid":"127515818","full_name":"twirphp/twirp","owner":"twirphp","description":"PHP port of Twitch's Twirp RPC framework","archived":false,"fork":false,"pushed_at":"2026-01-14T13:29:51.000Z","size":913,"stargazers_count":159,"open_issues_count":15,"forks_count":22,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-14T17:29:51.630Z","etag":null,"topics":["code-generator","hactoberfest","php","protobuf","protocol-buffers","rpc","twirp"],"latest_commit_sha":null,"homepage":"https://twirphp.github.io","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/twirphp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":".github/SUPPORT.md","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":"2018-03-31T08:54:00.000Z","updated_at":"2026-01-14T13:29:56.000Z","dependencies_parsed_at":"2024-04-19T02:40:27.385Z","dependency_job_id":"d3011ca6-db0b-4e24-8f2c-6d9e26396dda","html_url":"https://github.com/twirphp/twirp","commit_stats":{"total_commits":314,"total_committers":14,"mean_commits":"22.428571428571427","dds":0.1273885350318471,"last_synced_commit":"57275a5c729c2de18f083ca34ba28a4ed65d2d18"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"purl":"pkg:github/twirphp/twirp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twirphp%2Ftwirp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twirphp%2Ftwirp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twirphp%2Ftwirp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twirphp%2Ftwirp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twirphp","download_url":"https://codeload.github.com/twirphp/twirp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twirphp%2Ftwirp/sbom","scorecard":{"id":903986,"data":{"date":"2025-08-18","repo":{"name":"github.com/twirphp/twirp","commit":"08a54881275a4a874d717f043b5afc1749d57567"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":3.9,"checks":[{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":1,"reason":"Found 2/11 approved changesets -- score normalized to 1","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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.14.0 not signed: https://api.github.com/repos/twirphp/twirp/releases/216140112","Warn: release artifact v0.13.0 not signed: https://api.github.com/repos/twirphp/twirp/releases/201922375","Warn: release artifact v0.12.0 not signed: https://api.github.com/repos/twirphp/twirp/releases/175775163","Warn: release artifact v0.11.0 not signed: https://api.github.com/repos/twirphp/twirp/releases/156255250","Warn: release artifact v0.10.0 not signed: https://api.github.com/repos/twirphp/twirp/releases/114062079","Warn: release artifact v0.14.0 does not have provenance: https://api.github.com/repos/twirphp/twirp/releases/216140112","Warn: release artifact v0.13.0 does not have provenance: https://api.github.com/repos/twirphp/twirp/releases/201922375","Warn: release artifact v0.12.0 does not have provenance: https://api.github.com/repos/twirphp/twirp/releases/175775163","Warn: release artifact v0.11.0 does not have provenance: https://api.github.com/repos/twirphp/twirp/releases/156255250","Warn: release artifact v0.10.0 does not have provenance: https://api.github.com/repos/twirphp/twirp/releases/114062079"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"name":"SAST","score":8,"reason":"SAST tool is not run on all commits -- score normalized to 8","details":["Warn: 24 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-24T16:41:31.219Z","repository_id":31309225,"created_at":"2025-08-24T16:41:31.220Z","updated_at":"2025-08-24T16:41:31.220Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30089331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T18:31:08.343Z","status":"ssl_error","status_checked_at":"2026-03-04T18:31:07.708Z","response_time":59,"last_error":"SSL_read: 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":["code-generator","hactoberfest","php","protobuf","protocol-buffers","rpc","twirp"],"created_at":"2024-08-03T22:01:22.942Z","updated_at":"2026-03-04T18:31:42.017Z","avatar_url":"https://github.com/twirphp.png","language":"PHP","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twirphp.github.io\"\u003e\n    \u003cpicture\u003e\n      \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"resources/logo-dark.png\"\u003e\n      \u003cimg alt=\"TwirPHP logo\" src=\"resources/logo.png\"\u003e\n    \u003c/picture\u003e\n  \u003c/a\u003e\n\n  \u003ch1 align=\"center\"\u003e\n    TwirPHP\n  \u003c/h1\u003e\n\u003c/p\u003e\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/twirphp/twirp/ci.yaml?style=flat-square)](https://github.com/twirphp/twirp/actions/workflows/ci.yaml)\n[![Twirp Version](http://img.shields.io/badge/twirp%20version-v7-orange.svg?style=flat-square)](https://twitchtv.github.io/twirp/docs/spec_v7.html)\n[![Go Report Card](https://goreportcard.com/badge/github.com/twirphp/twirp?style=flat-square)](https://goreportcard.com/report/github.com/twirphp/twirp)\n[![Composer Package](http://img.shields.io/badge/composer-twirp%2Ftwirp-green.svg?style=flat-square)](https://packagist.org/packages/twirp/twirp)\n\n**PHP port of Twitch's [Twirp](https://twitchtv.github.io/twirp/) RPC framework**\n\n## Installation\n\nDownload prebuilt binaries for the protoc plugin from the [releases](https://github.com/twirphp/twirp/releases) page.\n\nAlternatively, you can use the following oneliner to install the plugin:\n\n```bash\ncurl -Ls https://git.io/twirphp | bash -s -- -b path/to/bin\n```\n\nSee the [documentation](https://twirphp.github.io/docs/installation) for details.\n\n## Documentation\n\nSee the [official documentation](https://twirphp.github.io/).\n\n## Development\n\n**For an optimal developer experience, it is recommended to install [Nix](https://nixos.org/download.html) and [direnv](https://direnv.net/docs/installation.html).**\n\n_Alternatively, install [Go](https://go.dev/dl/), [PHP](https://www.php.net/) and [Composer](https://getcomposer.org/download/) on your computer then run `make deps` to install the rest of the dependencies._\n\nInstall dependencies:\n\n```shell\ngo mod download\ncomposer install\n```\n\nIf you change something in the protoc plugin, regenerate the examples:\n\n```shell\nmake generate\n```\n\nWhen all coding and testing is done, please run the test suite:\n\n```shell\nmake check\n```\n\n## Security\n\nIf you discover any security related issues, please contact us at [twirphp@sagikazarmark.dev](mailto:twirphp@sagikazarmark.dev).\n\n## License\n\nThe project is licensed under the [MIT License](LICENSE).\n\nThe original Twirp library is licensed under the Apache 2.0 License.\n","funding_links":[],"categories":["PHP","类库"],"sub_categories":["PRC"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwirphp%2Ftwirp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwirphp%2Ftwirp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwirphp%2Ftwirp/lists"}