PHPackages                             leoloso/graphiql-wp-block - 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. leoloso/graphiql-wp-block

ActiveLibrary

leoloso/graphiql-wp-block
=========================

WordPress block for adding a GraphiQL client, to query the GraphQL server

491[24 PRs](https://github.com/leoloso/graphiql-wp-block/pulls)JavaScript

Since Mar 9Pushed 3y ago1 watchersCompare

[ Source](https://github.com/leoloso/graphiql-wp-block)[ Packagist](https://packagist.org/packages/leoloso/graphiql-wp-block)[ RSS](/packages/leoloso-graphiql-wp-block/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (25)Used By (0)

GraphiQL WordPress block
========================

[](#graphiql-wordpress-block)

WordPress block for adding a GraphiQL client, to query the GraphQL server

Usage
-----

[](#usage)

Include in your project through Composer:

```
$ composer require leoloso/graphiql-wp-block dev-master
```

**Note:** Your `composer.json` file must have the configuration below to accept minimum stability `"dev"` (there are no releases for PoP yet, and the code is installed directly from the `master` branch):

```
{
    ...
    "minimum-stability": "dev",
    "prefer-stable": true,
    ...
}
```

Then, initialize by running:

```
(new \Leoloso\GraphiQLWPBlock\Block($graphiQLURLPath))->init();
```

`$graphiQLURLPath` is a string containing the URL path to the block. From a plugin, it can be calculated like this:

```
$graphiQLPath = 'vendor/leoloso/graphiql-wp-block';
$graphiQLURLPath = \plugins_url($graphiQLPath, __FILE__);
```

Credits
-------

[](#credits)

- [Leonardo Losoviz](https://github.com/leoloso)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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://avatars.githubusercontent.com/u/1981996?v=4)[Leonardo Losoviz](/maintainers/leoloso)[@leoloso](https://github.com/leoloso)

---

Top Contributors

[![leoloso](https://avatars.githubusercontent.com/u/1981996?v=4)](https://github.com/leoloso "leoloso (48 commits)")

### Embed Badge

![Health badge](/badges/leoloso-graphiql-wp-block/health.svg)

```
[![Health](https://phpackages.com/badges/leoloso-graphiql-wp-block/health.svg)](https://phpackages.com/packages/leoloso-graphiql-wp-block)
```

PHPackages © 2026

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