mageworx / module-seoxtemplates-graph-ql

mageworx/module-seoxtemplates-graph-ql

N/A

magento2-module Compatibility: Not yet tested Code Quality: Fail Tests: N/A Security: Pass OSL-3.0, AFL-3.0

MageWorx_SeoXTemplatesGraphQl

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/SeoXTemplatesGraphQl directory (create "SeoXTemplatesGraphQl" first if missing)

2) Installation using composer (from packagist)

  • Execute the following command: composer require mageworx/module-seoxtemplates-graph-ql

How to use

Categories query example All Category SEO-attributes (meta title, meta description, ...) set in "Bags[ - Filters: {filter_all}]"

query GetCategories($id: String!, $pageSize: Int!, $currentPage: Int!, $filters: ProductAttributeFilterInput!, $sort: ProductAttributeSortInput) {
  categories(filters: {ids: {in: [$id]}}) {
    items {
      uid
      ...CategoryFragment
    }
  }
  products(pageSize: $pageSize, currentPage: $currentPage, filter: $filters, sort: $sort) {
    ...ProductsFragment
    mw_seo_category_data {
      meta_title
      meta_description
      meta_keywords
      category_seo_name
    }
  }
}

fragment CategoryFragment on CategoryTree {
  uid
  meta_title
  meta_keywords
  meta_description
  category_seo_name
}

fragment ProductsFragment on Products {
  items {
    id
    uid
    name
    sku
    url_key
  }
  page_info {
    total_pages
  }
  total_count
}

Query Variables:

{
  "currentPage": 1,
  "id": "4",
  "filters": {
    "color": {
      "eq": "49"
    },
    "category_id": {
      "eq": "4"
    }
  },
  "pageSize": 1,
  "sort": {
    "position": "ASC"
  }
}

Answer:

{
  "data": {
    "categories": {
      "items": [
        {
          "uid": "NA==",
          "meta_title": "Bags",
          "meta_keywords": "Bags",
          "meta_description": "Bags",
          "category_seo_name": "Bags"
        }
      ]
    },
    "products": {
      "items": [
        {
          "id": 7,
          "uid": "Nw==",
          "name": "Impulse Duffle",
          "sku": "24-UB02",
          "url_key": "impulse-duffle"
        }
      ],
      "page_info": {
        "total_pages": 4
      },
      "total_count": 4,
      "mw_seo_category_data": {
        "meta_title": "Bags - Filters: Color: Black",
        "meta_description": "Bags - Filters: Color: Black",
        "meta_keywords": "Bags - Filters: Color: Black",
        "category_seo_name": "Bags - Filters: Color: Black"
      }
    }
  }
}
Products query example

All Product SEO-attributes (meta title, meta description, ...) set in "Wayfarer Messenger Bag[ in {categories}]"

query getProductDetailForProductPage($urlKey: String!) {
  products(filter: {url_key: {eq: $urlKey}}) {
    items {
      id
      uid
      ...ProductDetailsFragment
    }
  }
}

fragment ProductDetailsFragment on ProductInterface {
  categories {
    uid
    breadcrumbs {
      category_uid
    }
  }
  id
  uid
  meta_title
  meta_description
  meta_keyword
	product_seo_name
  name
  sku
  url_key
  ... on ConfigurableProduct {
    configurable_options {
      attribute_code
      attribute_id
      uid
      label
      values {
        uid
        default_label
        label
        store_label
        use_default_value
      }
    }
    variants {
      attributes {
        code
        value_index
      }
      product {
        uid
        media_gallery_entries {
          uid
          disabled
          file
          label
          position
        }
        sku
        stock_status
      }
    }
  }
}

Query Variables:

{
  "currentPage": 1,
  "id": "4",
  "filters": {
    "color": {
      "eq": "49"
    },
    "category_id": {
      "eq": "4"
    }
  },
  "pageSize": 1,
  "sort": {
    "position": "ASC"
  }
}

Answer:

{
  "data": {
    "products": {
      "items": [
        {
          "id": 4,
          "uid": "NA==",
          "categories": [
            {
              "uid": "Mw==",
              "breadcrumbs": null
            },
            {
              "uid": "NA==",
              "breadcrumbs": [
                {
                  "category_uid": "Mw=="
                }
              ]
            },
            {
              "uid": "Nw==",
              "breadcrumbs": null
            },
            {
              "uid": "OA==",
              "breadcrumbs": null
            }
          ],
          "meta_title": "Wayfarer Messenger Bag",
          "meta_description": "Wayfarer Messenger Bag",
          "meta_keyword": "Wayfarer Messenger Bag",
          "product_seo_name": "Wayfarer Messenger Bag",
          "name": "Wayfarer Messenger Bag",
          "sku": "24-MB05",
          "url_key": "wayfarer-messenger-bag"
        }
      ]
    }
  }
}

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Compatibility Released
2.0.1 stable Pass Not yet tested Details 2026-02-12 15:20:22
2.0.0 stable Not tested Not yet tested Details 2022-04-12 21:31:35
1.0.0 stable Not tested Not yet tested Details 2020-10-19 10:56:05

Requires 3

Package Constraint
mageworx/module-seoxtemplates >= 2.13.8
magento/module-cms-graph-ql >= 100.3.1 < 101
magento/module-catalog-graph-ql >= 100.3.1 < 101

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.

Compatibility matrix (Magento × PHP)
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.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 2 2 warnings (ruleset: Magento2)
PHPMD Warning 5 5 rule violations (UnusedFormalParameter:5)
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.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Error Error
2.4.8 Error Error
2.4.9 Error Error

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

Unit tests results by Magento and PHP version
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

Integration tests results by Magento and PHP version
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.

Security results
Tool Status Findings Summary
Composer audit N/A 0 no resolvable dependency tree to audit — Your requirements could not be resolved to an installable set of packages. Problem 1
Malware scan Pass 0
License
OSL-3.0, AFL-3.0

More from mageworx

View vendor
Make it pay

Turn 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.