PHPackages                             twohill/silverstripe-phpstorm-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. twohill/silverstripe-phpstorm-graphql

AbandonedArchivedSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

twohill/silverstripe-phpstorm-graphql
=====================================

Helper to allow PHPStorm GraphQL lookups

11PHP

Since Apr 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/twohill/silverstripe-phpstorm-graphql)[ Packagist](https://packagist.org/packages/twohill/silverstripe-phpstorm-graphql)[ RSS](/packages/twohill-silverstripe-phpstorm-graphql/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SilverStripe-PhpStorm-GraphQL helper
====================================

[](#silverstripe-phpstorm-graphql-helper)

This module allows you to use [JS GraphQL](https://github.com/jimkyndemeyer/js-graphql-intellij-plugin) within your SilverStripe project.

It does this by providing another authenticator that lets JS GraphQL query the schema without logging in. There might be a better way of going about this - I'm all ears!

To provide some sort of security, by default we restrict to queries from localhost, with the user-agent "JS GraphQL", and only in dev mode.

Requirements
------------

[](#requirements)

- silverstripe-graphql
- PhpStorm
- JS GraphQL

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

[](#installation)

Install the JS GraphQL plugin Install this helper

```
composer require twohill/silverstripe-phpstorm-graphql

```

Create a `graphql.config.json` with the following details (update the URL as required)

```
{
  "schema": {
    "request": {
      "url": "http://localhost/graphql",
      "method": "POST",
      "postIntrospectionQuery": true,
      "options": {
        "headers": {
          "user-agent": "JS GraphQL",
          "Origin": "localhost"
        }
      }
    }
  },
  "endpoints": [
    {
      "name": "Default (http://localhost/graphql)",
      "url": "http://localhost/graphql",
      "options": {
        "headers": {
          "user-agent": "JS GraphQL",
          "Origin": "localhost"
        }
      }
    }
  ]
}
```

Edit some GraphQL and see some lovely schema completion :)

License
-------

[](#license)

See [License](license.md)

Example configuration (optional)
--------------------------------

[](#example-configuration-optional)

If you want to override any of the security settings you can do so via yaml.

```
Twohill\PhpStormGraphQL\PhpStormDevAuthenticator:
  allowed_ips:
    - '127.0.0.1'
  allowed_useragent: 'JS GraphQL'
  allowed_environment: 'dev'
```

Maintainers
-----------

[](#maintainers)

- Al Twohill (alt)

Bugtracker
----------

[](#bugtracker)

Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.

If the issue does look like a new bug:

- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.

Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.

Development and contribution
----------------------------

[](#development-and-contribution)

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/98bde8ab82ea828d69bc57b056e07d2206c9ae8ba23f23d9a0ec609dc72d6fd2?d=identicon)[twohill](/maintainers/twohill)

---

Top Contributors

[![altwohill](https://avatars.githubusercontent.com/u/629254?v=4)](https://github.com/altwohill "altwohill (1 commits)")

### Embed Badge

![Health badge](/badges/twohill-silverstripe-phpstorm-graphql/health.svg)

```
[![Health](https://phpackages.com/badges/twohill-silverstripe-phpstorm-graphql/health.svg)](https://phpackages.com/packages/twohill-silverstripe-phpstorm-graphql)
```

PHPackages © 2026

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