PHPackages                             simpod/phpstan-graphql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. simpod/phpstan-graphql

AbandonedArchivedPhpstan-extension[Utility &amp; Helpers](/categories/utility)

simpod/phpstan-graphql
======================

PHPStan GraphQL extension

25.0k[1 issues](https://github.com/simPod/phpstan-graphql/issues)PHP

Since Dec 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/simPod/phpstan-graphql)[ Packagist](https://packagist.org/packages/simpod/phpstan-graphql)[ RSS](/packages/simpod-phpstan-graphql/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHPStan GraphQL extension
=========================

[](#phpstan-graphql-extension)

[![Build Status](https://camo.githubusercontent.com/72457ab086256324c138b41246ce68ff5a8f3b70a60e10f263895eb8ac931314/68747470733a2f2f7472617669732d63692e6f72672f73696d706f642f7068707374616e2d6772617068716c2e737667)](https://travis-ci.org/simpod/phpstan-graphql)[![Latest Stable Version](https://camo.githubusercontent.com/5b04e9f13f2b5cfcade723b4089840301e9bec825ecf1276bc4ec861da098ebc/68747470733a2f2f706f7365722e707567782e6f72672f73696d706f642f7068707374616e2d6772617068716c2f762f737461626c65)](https://packagist.org/packages/simpod/phpstan-graphql)[![License](https://camo.githubusercontent.com/ee9f5ac272f3b148f06633fd4133318c78abf89871db1ff0bbea2a595ed1280b/68747470733a2f2f706f7365722e707567782e6f72672f73696d706f642f7068707374616e2d6772617068716c2f6c6963656e7365)](https://packagist.org/packages/simpod/phpstan-graphql)

- [PHPStan](https://github.com/phpstan/phpstan)
- [GraphQL PHP](https://github.com/webonyx/graphql-php)

This extension provides the following features:

- `ResolveInfo::getFieldSelection($depth)` return type is interpreted based on passed `$depth` value.

Usage
-----

[](#usage)

To use this extension, require it in [Composer](https://getcomposer.org/):

```
composer require --dev simpod/phpstan-graphql
```

And include extension.neon in your project's PHPStan config:

```
includes:
	- vendor/simpod/phpstan-graphql/extension.neon

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/af6552e906a40b12da9488a4dddfa4f9f4c0fecde220e7391accdd615523c7ee?d=identicon)[simPod](/maintainers/simPod)

---

Top Contributors

[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (5 commits)")

### Embed Badge

![Health badge](/badges/simpod-phpstan-graphql/health.svg)

```
[![Health](https://phpackages.com/badges/simpod-phpstan-graphql/health.svg)](https://phpackages.com/packages/simpod-phpstan-graphql)
```

###  Alternatives

[talan-hdf/semantic-suggestion

TYPO3 extension for suggesting semantically related pages using advanced NLP and TF-IDF analysis

102.4k](/packages/talan-hdf-semantic-suggestion)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
