PHPackages                             axepress/wp-graphql-rank-math - 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. [API Development](/categories/api)
4. /
5. axepress/wp-graphql-rank-math

ActiveWordpress-plugin[API Development](/categories/api)

axepress/wp-graphql-rank-math
=============================

Adds WPGraphQL support for RankMath SEO

0.3.4(1y ago)7210.1k↑11%12[10 issues](https://github.com/AxeWP/wp-graphql-rank-math/issues)GPL-3.0-or-laterPHPPHP &gt;=7.4CI passing

Since May 14Pushed 1y ago10 watchersCompare

[ Source](https://github.com/AxeWP/wp-graphql-rank-math)[ Packagist](https://packagist.org/packages/axepress/wp-graphql-rank-math)[ GitHub Sponsors](https://github.com/sponsors/AxeWP)[ RSS](/packages/axepress-wp-graphql-rank-math/feed)WikiDiscussions develop Synced today

READMEChangelog (10)Dependencies (22)Versions (27)Used By (0)

[![WPGraphQL for Rank Math logo](./assets/header.png)](./assets/header.png)

WPGraphQL for Rank Math SEO
===========================

[](#wpgraphql-for-rank-math-seo)

🚨 NOTE: This is prerelease software. 🚨

Adds WPGraphQL support for [Rank Math SEO](https://rankmath.com/). Built with [WPGraphQL Plugin Boilerplate](https://github.com/AxeWP/wp-graphql-boilerplate).

- [Join the WPGraphQL community on Slack.](https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA)
- [Documentation](#usage)

---

[![Packagist License](https://camo.githubusercontent.com/c65d8c23a3a76b816aea2be25a464b32927d8578ce869240d489c93b1c24869d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61786570726573732f77702d6772617068716c2d72616e6b2d6d6174683f636f6c6f723d677265656e)](https://camo.githubusercontent.com/c65d8c23a3a76b816aea2be25a464b32927d8578ce869240d489c93b1c24869d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61786570726573732f77702d6772617068716c2d72616e6b2d6d6174683f636f6c6f723d677265656e) [![Packagist Version](https://camo.githubusercontent.com/d549ebfc108c391f6eae73014f6431b7a95ed8629c41d62075a7a3b8259a5f77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61786570726573732f77702d6772617068716c2d72616e6b2d6d6174683f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/d549ebfc108c391f6eae73014f6431b7a95ed8629c41d62075a7a3b8259a5f77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61786570726573732f77702d6772617068716c2d72616e6b2d6d6174683f6c6162656c3d737461626c65) [![GitHub commits since latest release (by SemVer)](https://camo.githubusercontent.com/764db4142825d2e6190640149e80bd863f994d4e872b06c620ab977f602d7848/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f41786557502f77702d6772617068716c2d72616e6b2d6d6174682f302e332e34)](https://camo.githubusercontent.com/764db4142825d2e6190640149e80bd863f994d4e872b06c620ab977f602d7848/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f41786557502f77702d6772617068716c2d72616e6b2d6d6174682f302e332e34) [![GitHub forks](https://camo.githubusercontent.com/1b3dcbdeefc19a6f05c8b2668e9f6bebb10af1dfba0b1cec8938333fbfd555f6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f41786557502f77702d6772617068716c2d72616e6b2d6d6174683f7374796c653d736f6369616c)](https://camo.githubusercontent.com/1b3dcbdeefc19a6f05c8b2668e9f6bebb10af1dfba0b1cec8938333fbfd555f6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f41786557502f77702d6772617068716c2d72616e6b2d6d6174683f7374796c653d736f6369616c) [![GitHub Repo stars](https://camo.githubusercontent.com/cf04f779df0bd2d2d964e27a7829bc4db1b0a42c69f9ae48bc411c3009825828/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f41786557502f77702d6772617068716c2d72616e6b2d6d6174683f7374796c653d736f6369616c)](https://camo.githubusercontent.com/cf04f779df0bd2d2d964e27a7829bc4db1b0a42c69f9ae48bc411c3009825828/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f41786557502f77702d6772617068716c2d72616e6b2d6d6174683f7374796c653d736f6369616c)
[![CodeQuality](https://camo.githubusercontent.com/54cdd3c38a07fc10d5e8f4e3e22896dc53bc54e1ab9fd6c0c23370a437bc82ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61786577702f77702d6772617068716c2d72616e6b2d6d6174682f636f64652d7175616c6974792e796d6c3f6272616e63683d646576656c6f70266c6162656c3d436f64652532305175616c697479)](https://camo.githubusercontent.com/54cdd3c38a07fc10d5e8f4e3e22896dc53bc54e1ab9fd6c0c23370a437bc82ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61786577702f77702d6772617068716c2d72616e6b2d6d6174682f636f64652d7175616c6974792e796d6c3f6272616e63683d646576656c6f70266c6162656c3d436f64652532305175616c697479)[![Integration Tests](https://camo.githubusercontent.com/24b54d5320bfb0ca1b08369a0a5eda77609c95f427385eeb988abf1c51b67d91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61786577702f77702d6772617068716c2d72616e6b2d6d6174682f696e746567726174696f6e2d74657374696e672e796d6c3f6272616e63683d646576656c6f70266c6162656c3d496e746567726174696f6e25323054657374696e67)](https://camo.githubusercontent.com/24b54d5320bfb0ca1b08369a0a5eda77609c95f427385eeb988abf1c51b67d91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61786577702f77702d6772617068716c2d72616e6b2d6d6174682f696e746567726174696f6e2d74657374696e672e796d6c3f6272616e63683d646576656c6f70266c6162656c3d496e746567726174696f6e25323054657374696e67)[![Coding Standards](https://camo.githubusercontent.com/de300f837f2f0775ec18cdc1110b5155a77cb6a7985213ce3d41b754b38d6ad7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61786577702f77702d6772617068716c2d72616e6b2d6d6174682f636f64652d7374616e646172642e796d6c3f6272616e63683d646576656c6f70266c6162656c3d576f72645072657373253230436f64696e672532305374616e6461726473)](https://camo.githubusercontent.com/de300f837f2f0775ec18cdc1110b5155a77cb6a7985213ce3d41b754b38d6ad7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61786577702f77702d6772617068716c2d72616e6b2d6d6174682f636f64652d7374616e646172642e796d6c3f6272616e63683d646576656c6f70266c6162656c3d576f72645072657373253230436f64696e672532305374616e6461726473)[![Coverage Status](https://camo.githubusercontent.com/f49a9c9bb4c01af46cb17eb7fdd19df9758d01d4d1c94f644eae46c5673cbf83/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f41786557502f77702d6772617068716c2d72616e6b2d6d6174682f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/AxeWP/wp-graphql-rank-math?branch=develop)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#----)

System Requirements
-------------------

[](#system-requirements)

- PHP 7.4 - 8.2+
- WordPress 6.0+
- WPGraphQL 1.26.0+
- RankMath SEO 1.0.201+

Quick Install
-------------

[](#quick-install)

1. Install &amp; activate [WPGraphQL](https://www.wpgraphql.com/).
2. Install &amp; activate [Rank Math SEO](https://rankmath.com/).
3. Download the [latest release](https://github.com/AxeWP/wp-graphql-rank-math/releases) `.zip` file, upload it to your WordPress install, and activate the plugin.

### With Composer

[](#with-composer)

```
composer require axepress/wp-graphql-rank-math
```

Updating and Versioning
-----------------------

[](#updating-and-versioning)

As we work towards a 1.0 Release, we will need to introduce **numerous** breaking changes. We will do our best to group multiple breaking changes together in a single release, to make it easier on developers to keep their projects up-to-date.

Until we hit v1.0, we're using a modified version of [SemVer](https://semver.org/), where:

- v0.**x**: "Major" releases. These releases introduce new features, and *may* contain breaking changes to either the PHP API or the GraphQL schema
- v0.x.**y**: "Minor" releases. These releases introduce new features and enhancements and address bugs. They *do not* contain breaking changes.
- v0.x.y.**z**: "Patch" releases. These releases are reserved for addressing issue with the previous release only.

Development and Support
-----------------------

[](#development-and-support)

Development of WPGraphQL for Rank Math SEO is provided by [AxePress Development](https://axepress.dev). Community contributions are *welcome* and **encouraged**.

Basic support is provided for free, both in [this repo](https://github.com/axewp/wp-graphql-rank-math/issues) and at the #rank-math channel in [WPGraphQL Slack](https://join.slack.com/t/wp-graphql/shared_invite/zt-3vloo60z-PpJV2PFIwEathWDOxCTTLA).

Priority support and custom development is available to [our Sponsors](https://github.com/sponsors/AxeWP).

[![](https://camo.githubusercontent.com/0f9e1b45a01d19d25b515dce9b59bb9faa9a4cccc5333c7166b8ba36c1059065/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d53706f6e736f7225323055732532302534302532304178655750266d6573736167653d254532253944254134266c6f676f3d47697448756226636f6c6f723d253233666538653836267374796c653d666f722d7468652d6261646765)](https://github.com/sponsors/AxeWP)

Supported Features
------------------

[](#supported-features)

- General Settings
- Titles &amp; Meta Settings
- 🏗 SEO data for
    - Single posts, pages, attachments, and CPTs.
    - Post Type archives.
    - Categories, tags, and custom taxonomy terms.
    - Authors (users)
    - Image attributes.
- Sitemaps
- Redirections
- 404 Monitor
- Local SEO and Knowledgegraph
- RSS Feeds

### Supported SEO data

[](#supported-seo-data)

- Full head
- RankMath SEO Score
- Basic Meta Attributes: Title, Description, Robots, Focus Keywords, Canonical URL,
- Breadcrumbs
- 🏗 JSON-LD
    - Raw schema
    - Individual JSON-LD attributes
- OpenGraph &amp; Twitter

Usage
-----

[](#usage)

### Getting Started ( 🎯 You are here! )

[](#getting-started---you-are-here-)

- [System Requirements](#system-requirements)
- [Installation](#quick-install)

### Reference

[](#reference)

- [GraphQL Queries](./docs/reference/queries.md)
- [WordPress Actions](./docs/reference/actions.md)
- [WordPress Filters](./docs/reference/filters.md)

Testing
-------

[](#testing)

1. Update your `.env` file to your testing environment specifications.
2. Run `composer install-test-env` to create the test environment.
3. Run your test suite with [Codeception](https://codeception.com/docs/02-GettingStarted#Running-Tests). E.g. `vendor/bin/codecept run wpunit` will run all WPUnit tests.

Credits
-------

[](#credits)

[![Built with WPGraphQL Plugin Boilerplate](./assets/built-with.png)](https://github.com/AxeWP/wp-graphql-plugin-boilerplate)

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance44

Moderate activity, may be stable

Popularity40

Moderate usage in the ecosystem

Community20

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.8% 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 ~48 days

Recently: every ~97 days

Total

24

Last Release

391d ago

PHP version history (3 changes)0.0.1PHP &gt;=7.4 || ^8.0

0.0.8PHP &gt;=7.4 || ^8.0 || ^8.1

0.0.15PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29322304?v=4)[Dovid Levine](/maintainers/justlevine)[@justlevine](https://github.com/justlevine)

---

Top Contributors

[![justlevine](https://avatars.githubusercontent.com/u/29322304?v=4)](https://github.com/justlevine "justlevine (128 commits)")[![colis](https://avatars.githubusercontent.com/u/9059716?v=4)](https://github.com/colis "colis (2 commits)")[![idflood](https://avatars.githubusercontent.com/u/197418?v=4)](https://github.com/idflood "idflood (2 commits)")[![lucguerraz](https://avatars.githubusercontent.com/u/55530568?v=4)](https://github.com/lucguerraz "lucguerraz (1 commits)")[![marcinkrzeminski](https://avatars.githubusercontent.com/u/2551613?v=4)](https://github.com/marcinkrzeminski "marcinkrzeminski (1 commits)")[![offminded](https://avatars.githubusercontent.com/u/424103?v=4)](https://github.com/offminded "offminded (1 commits)")

---

Tags

graphqlhacktoberfesthacktoberfest2023headless-wordpressphprank-mathrankmathseowordpresswordpress-pluginswp-graphqlwpgraphqlwpgraphql-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/axepress-wp-graphql-rank-math/health.svg)

```
[![Health](https://phpackages.com/badges/axepress-wp-graphql-rank-math/health.svg)](https://phpackages.com/packages/axepress-wp-graphql-rank-math)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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