{"id":28511110,"url":"https://github.com/vojtech-dobes/phpstan-php-graphql-server","last_synced_at":"2026-04-02T01:35:15.614Z","repository":{"id":297014123,"uuid":"995355692","full_name":"vojtech-dobes/phpstan-php-graphql-server","owner":"vojtech-dobes","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-03T13:03:08.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-03T22:16:35.591Z","etag":null,"topics":["ci","graphql","php","phpstan","phpstan-rules","static-analysis","static-code-analysis"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vojtech-dobes.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}},"created_at":"2025-06-03T11:02:25.000Z","updated_at":"2025-06-03T13:03:08.000Z","dependencies_parsed_at":"2025-06-03T22:16:45.646Z","dependency_job_id":"cec7803b-fbaf-44e1-936a-e9c324af07de","html_url":"https://github.com/vojtech-dobes/phpstan-php-graphql-server","commit_stats":null,"previous_names":["vojtech-dobes/phpstan-php-graphql-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vojtech-dobes/phpstan-php-graphql-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vojtech-dobes%2Fphpstan-php-graphql-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vojtech-dobes%2Fphpstan-php-graphql-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vojtech-dobes%2Fphpstan-php-graphql-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vojtech-dobes%2Fphpstan-php-graphql-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vojtech-dobes","download_url":"https://codeload.github.com/vojtech-dobes/phpstan-php-graphql-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vojtech-dobes%2Fphpstan-php-graphql-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31293959,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:05:07.454Z","status":"ssl_error","status_checked_at":"2026-04-02T00:56:46.496Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["ci","graphql","php","phpstan","phpstan-rules","static-analysis","static-code-analysis"],"created_at":"2025-06-08T23:07:10.500Z","updated_at":"2026-04-02T01:35:15.610Z","avatar_url":"https://github.com/vojtech-dobes.png","language":"PHP","readme":"# PHPStan extension for [PHP GraphQL Server](https://github.com/vojtech-dobes/php-graphql-server)\n\n![Checks](https://github.com/vojtech-dobes/phpstan-php-graphql-server/actions/workflows/checks.yml/badge.svg?branch=master\u0026event=push)\n\nThis is super-convenient companion if you use [`vojtech-dobes/php-graphql-server`](https://github.com/vojtech-dobes/php-graphql-server) and [PHPStan](https://phpstan.org/). With this extension, PHPStan will be able to point out:\n\n- mismatch between GraphQL Schema \u0026 what your resolvers actually return\n- mismatch between GraphQL Schema \u0026 what your resolvers actually accept as arguments\n- mismatch between declared parent value type and what resolver will actually receive\n- supports utility resolvers like `PropertyFieldResolver` etc.\n\n\n\n## Installation\n\nTo install the latest version, run the following command:\n\n```\ncomposer require vojtech-dobes/phpstan-php-graphql-server\n```\n\nThen you can register in your `phpstan.neon`:\n\n```neon\nincludes:\n  - vendor/vojtech-dobes/phpstan-php-graphql-server/extension.neon\n\ngraphql:\n  generatedDir: \"\u003cpath to temp directory\u003e\"\n  schemas:\n    - \"\u003cpath to your Schema file\u003e\"\n```\n\nNext you have to tell the extension about your resolvers. If you're using framework integration, use corresponding package:\n\n- **Integration:** `vojtech-dobes/php-graphql-server-nette-integration` (for Nette Framework)\u003cbr /\u003e\n  **Package:** [`vojtech-dobes/phpstan-php-graphql-server-nette-integration`](https://github.com/vojtech-dobes/phpstan-php-graphql-server-nette-integration)\n\nIn case of custom setup, please implement `Vojtechdobes\\PHPStan\\GraphQL\\Adapter` interface and register like this in `phpstan.neon`:\n\n```neon\nservices:\n  - class: MyCustomAdapter\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvojtech-dobes%2Fphpstan-php-graphql-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvojtech-dobes%2Fphpstan-php-graphql-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvojtech-dobes%2Fphpstan-php-graphql-server/lists"}