mageworx / module-seoredirects-graph-ql
mageworx/module-seoredirects-graph-ql
N/A
MageWorx_SeoRedirectsGraphQl
GraphQL API module for Mageworx Magento 2 SEO Suite Ultimate extension.
Installation
1) Copy-to-paste method
- Download this module and upload it to the
app/code/MageWorx/SeoRedirectsGraphQldirectory (create "SeoRedirectsGraphQl" first if missing)
2) Installation using composer (from packagist)
- Execute the following command:
composer require mageworx/module-seoredirects-graph-ql
How to use
SeoRedirectsGraphQl module modifies the current values of the existing Output attributes for urlResolver query and for routes query if there is at least 1 Mageworx redirect for the 'requested URL' entity.
This module is compatible with:
- redirects for deleted products
- custom redirects with Request Entity Type and Target Entity Type equal to Product, Category or CMS Page
urlResolver query
For example, urlResolver query has the following syntax:
{urlResolver(url: String!): EntityUrl}
Request:
{
urlResolver(url: "savvy-shoulder-tote.html") {
id
relative_url
redirectCode
type
}
}
Response:
{
"data": {
"urlResolver": {
"id": 2047,
"relative_url": "erika-running-short.html",
"redirectCode": 301,
"type": "PRODUCT"
}
}
}
routes query
For example, route query has the following syntax:
{route(url: String!): RoutableInterface}
Request:
{
route(url: "savvy-shoulder-tote.html") {
relative_url
redirect_code
type
}
}
Response:
{
"data": {
"route": {
"relative_url": "erika-running-short.html",
"redirect_code": 301,
"type": "PRODUCT"
}
}
}
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 1.3.4 | stable | Pass | Not yet tested Details | 2026-02-12 14:29:59 |
| 1.3.3 | stable | Not tested | Not yet tested Details | 2024-11-08 10:44:51 |
| 1.3.2 | stable | Not tested | Not yet tested Details | 2024-09-23 13:42:57 |
| 1.3.1 | stable | Not tested | Not yet tested Details | 2024-09-05 15:06:50 |
| 1.3.0 | stable | Not tested | Not yet tested Details | 2024-08-29 09:57:53 |
| 1.2.0 | stable | Not tested | Not yet tested Details | 2023-02-22 09:42:59 |
| 1.1.0 | stable | Not tested | Not yet tested Details | 2022-12-26 09:54:21 |
Requires 3
| Package | Constraint |
|---|---|
| magento/framework | >=103.0.2 < 104 |
| magento/module-url-rewrite-graph-ql | >= 100.4.2 < 101 |
| mageworx/module-seoredirects | >= 2.7.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | not tested | not tested | ||
| 2.4.8 | not tested | not tested | ||
| 2.4.9 | not tested | not tested |
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Warning | 39 | 39 warnings (ruleset: Magento2) — 15 auto-fixable with phpcbf |
| PHPMD | Warning | 9 | 9 rule violations (UnusedFormalParameter:7, CyclomaticComplexity:1, NPathComplexity:1) |
| Cpd | Pass | 0 | |
| Composer validate | Info | 2 | valid; 2 advisory notes (composer validate --strict) |
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from mageworx
View vendorTurn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.