axepress / wp-graphql-rank-math
Adds WPGraphQL support for RankMath SEO
Fund package maintenance!
AxeWP
Installs: 2 821
Dependents: 0
Suggesters: 0
Security: 0
Stars: 51
Watchers: 5
Forks: 7
Open Issues: 8
Type:wordpress-plugin
Requires
- php: >=7.4
- axepress/wp-graphql-plugin-boilerplate: ^0.1.0
Requires (Dev)
- axepress/wp-graphql-cs: ^2.0.0-beta
- axepress/wp-graphql-stubs: ^1.22.1
- codeception/lib-innerbrowser: ^1.0
- codeception/module-asserts: ^1.0
- codeception/module-cli: ^1.0
- codeception/module-db: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-phpbrowser: ^1.0
- codeception/module-rest: ^2.0
- codeception/module-webdriver: ^1.0
- codeception/phpunit-wrapper: ^9.0
- codeception/util-universalframework: ^1.0
- lucatume/wp-browser: <3.5
- php-coveralls/php-coveralls: ^2.5
- phpcompatibility/php-compatibility: dev-develop as 9.9.9
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.5
- szepeviktor/phpstan-wordpress: ^1.0
- wp-cli/wp-cli-bundle: ^2.8.1
- wp-graphql/wp-graphql-testcase: ~3.4.0
README
WPGraphQL for Rank Math SEO
🚨 NOTE: This is prerelease software. 🚨
Adds WPGraphQL support for Rank Math SEO. Built with WPGraphQL Plugin Boilerplate.
System Requirements
- PHP 7.4 - 8.2+
- WordPress 6.0+
- WPGraphQL 1.26.0+
- RankMath SEO 1.0.201+
Quick Install
- Install & activate WPGraphQL.
- Install & activate Rank Math SEO.
- Download the latest release
.zip
file, upload it to your WordPress install, and activate the plugin.
With Composer
composer require axepress/wp-graphql-rank-math
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, 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 of WPGraphQL for Rank Math SEO is provided by AxePress Development. Community contributions are welcome and encouraged.
Basic support is provided for free, both in this repo and at the #rank-math channel in WPGraphQL Slack.
Priority support and custom development is available to our Sponsors.
Supported Features
- General Settings
- Titles & 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
- 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 & Twitter
Usage
Getting Started ( 🎯 You are here! )
Reference
Testing
- Update your
.env
file to your testing environment specifications. - Run
composer install-test-env
to create the test environment. - Run your test suite with Codeception.
E.g.
vendor/bin/codecept run wpunit
will run all WPUnit tests.