{"id":13404889,"url":"https://github.com/webonyx/graphql-php","last_synced_at":"2026-04-11T20:11:45.836Z","repository":{"id":37484480,"uuid":"39149031","full_name":"webonyx/graphql-php","owner":"webonyx","description":"PHP implementation of the GraphQL specification based on the reference implementation in JavaScript","archived":false,"fork":false,"pushed_at":"2026-01-19T21:55:13.000Z","size":8685,"stargazers_count":4708,"open_issues_count":54,"forks_count":571,"subscribers_count":105,"default_branch":"master","last_synced_at":"2026-01-20T04:20:44.346Z","etag":null,"topics":["api","api-management","graphql","graphql-php","php","rest-replacement"],"latest_commit_sha":null,"homepage":"https://webonyx.github.io/graphql-php","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/webonyx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security.md","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},"funding":{"open_collective":"webonyx-graphql-php"}},"created_at":"2015-07-15T16:51:22.000Z","updated_at":"2026-01-19T21:54:53.000Z","dependencies_parsed_at":"2023-09-23T14:36:16.254Z","dependency_job_id":"478f0a3e-08cb-4280-8e53-8cfb7bfc58c1","html_url":"https://github.com/webonyx/graphql-php","commit_stats":{"total_commits":1803,"total_committers":143,"mean_commits":"12.608391608391608","dds":0.7182473655019412,"last_synced_commit":"2af5d8bd7455a130e570517bcb86768e65f20fcd"},"previous_names":[],"tags_count":178,"template":false,"template_full_name":null,"purl":"pkg:github/webonyx/graphql-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webonyx%2Fgraphql-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webonyx%2Fgraphql-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webonyx%2Fgraphql-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webonyx%2Fgraphql-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webonyx","download_url":"https://codeload.github.com/webonyx/graphql-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webonyx%2Fgraphql-php/sbom","scorecard":{"id":459906,"data":{"date":"2025-07-28","repo":{"name":"github.com/webonyx/graphql-php","commit":"cb4a3ce152968a69c176c249125a6bee5fd3a7bd"},"scorecard":{"version":"v5.2.1-26-g4feedb85","commit":"4feedb857ab8d82158aa9774bf8054df41992180"},"score":6.2,"checks":[{"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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#dangerous-workflow"}},{"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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#token-permissions"}},{"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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#maintained"}},{"name":"Code-Review","score":1,"reason":"Found 4/29 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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#code-review"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: docs/security.md:1","Info: Found linked content: docs/security.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: docs/security.md:1","Info: Found text in security policy: docs/security.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#security-policy"}},{"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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#cii-best-practices"}},{"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/4feedb857ab8d82158aa9774bf8054df41992180/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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#binary-artifacts"}},{"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/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#vulnerabilities"}},{"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/4feedb857ab8d82158aa9774bf8054df41992180/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/4feedb857ab8d82158aa9774bf8054df41992180/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/4feedb857ab8d82158aa9774bf8054df41992180/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/4feedb857ab8d82158aa9774bf8054df41992180/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 23 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T10:49:32.549Z","repository_id":37484480,"created_at":"2025-08-19T10:49:32.549Z","updated_at":"2025-08-19T10:49:32.549Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28599828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T08:51:33.170Z","status":"ssl_error","status_checked_at":"2026-01-20T08:51:10.855Z","response_time":117,"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":["api","api-management","graphql","graphql-php","php","rest-replacement"],"created_at":"2024-07-30T19:01:52.797Z","updated_at":"2026-04-11T20:11:45.827Z","avatar_url":"https://github.com/webonyx.png","language":"PHP","readme":"# graphql-php\n\nThis is a PHP implementation of the [GraphQL](https://graphql.org) [specification](https://github.com/graphql/graphql-spec)\nbased on the [reference implementation in JavaScript](https://github.com/graphql/graphql-js).\n\n## Sponsors\n\nIf you make money using this project, please consider sponsoring [its maintainer on GitHub Sponsors](https://github.com/sponsors/spawnia) or [the project on OpenCollective](https://opencollective.com/webonyx-graphql-php).\n\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\n\u003ca href=\"https://opencollective.com/webonyx-graphql-php#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/webonyx-graphql-php/backers.svg?width=890\"\u003e\u003c/a\u003e\n\n## Installation\n\nVia composer:\n\n```sh\ncomposer require webonyx/graphql-php\n```\n\n## Documentation\n\nFull documentation is available at [https://webonyx.github.io/graphql-php](https://webonyx.github.io/graphql-php)\nor in the [docs](docs) directory.\n\n## Examples\n\nThere are several ready examples in the [examples](examples) directory,\nwith a specific README file per example.\n\n## Versioning\n\nThis project follows [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).\n\nElements that belong to the public API of this package are marked with the `@api` PHPDoc tag.\nConstants included in the [class-reference docs](https://webonyx.github.io/graphql-php/class-reference) are also part of the public API.\nThose elements are thus guaranteed to be stable within major versions.\nAll other elements are not part of this backwards compatibility guarantee and may change between minor or patch versions.\n\nThe most recent version is actively developed on [`master`](https://github.com/webonyx/graphql-php/tree/master).\nOlder versions are generally no longer supported, although exceptions may be made for [sponsors](#sponsors).\n","funding_links":["https://opencollective.com/webonyx-graphql-php","https://github.com/sponsors/spawnia"],"categories":["PHP","Libraries","Language Implementations","Uncategorized","GraphQL [🔝](#readme)","Implementations","REST和API","类库"],"sub_categories":["PHP Libraries","Uncategorized","PHP","API"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebonyx%2Fgraphql-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebonyx%2Fgraphql-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebonyx%2Fgraphql-php/lists"}