PHPackages                             grzesie2k/phpstan-gql-rule - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. grzesie2k/phpstan-gql-rule

ActiveLibrary[Testing &amp; Quality](/categories/testing)

grzesie2k/phpstan-gql-rule
==========================

PHPStan rules for GraphQL

v1.0.1(6y ago)03.1k↓57.1%MITPHPCI passing

Since Jan 2Pushed 6y agoCompare

[ Source](https://github.com/Grzesie2k/phpstan-gql-rule)[ Packagist](https://packagist.org/packages/grzesie2k/phpstan-gql-rule)[ RSS](/packages/grzesie2k-phpstan-gql-rule/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

PHPStan GraphQL Rule
====================

[](#phpstan-graphql-rule)

Custom PHPStan rule for GraphQL queries in rules.

Installation
------------

[](#installation)

```
php composer.phar require --dev grzesie2k/php-stan-gql-rule
```

and include rule in `phpstan.neon`:

```
includes:
  - vendor/grzesie2k/phpstan-gql-rule/rules.neon
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2376d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6979098?v=4)[Grzegorz Kielak](/maintainers/Grzesie2k)[@Grzesie2k](https://github.com/Grzesie2k)

---

Top Contributors

[![Grzesie2k](https://avatars.githubusercontent.com/u/6979098?v=4)](https://github.com/Grzesie2k "Grzesie2k (8 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/grzesie2k-phpstan-gql-rule/health.svg)

```
[![Health](https://phpackages.com/badges/grzesie2k-phpstan-gql-rule/health.svg)](https://phpackages.com/packages/grzesie2k-phpstan-gql-rule)
```

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.5k55.4M8.5k](/packages/larastan-larastan)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k101.8M2.2k](/packages/behat-behat)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79475.7M2.2k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.4k](/packages/phpstan-phpstan-doctrine)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

4853.5M92](/packages/shipmonk-dead-code-detector)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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