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.0k↓50%MITPHP

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 1mo 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 60% 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

2319d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/174df51113dac75c3226de0b3d20f1014f89ee0b85d96650bfb3ebb289f34d5f?d=identicon)[Grzesie2k](/maintainers/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

[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[larastan/larastan

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

6.4k43.5M5.2k](/packages/larastan-larastan)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M1.9k](/packages/behat-behat)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

78268.9M1.5k](/packages/phpstan-phpstan-symfony)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

66466.6M1.0k](/packages/phpstan-phpstan-doctrine)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33120.0M372](/packages/spaze-phpstan-disallowed-calls)

PHPackages © 2026

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