PHPackages                             yireo/magento2-additional-endpoints-graph-ql - 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. yireo/magento2-additional-endpoints-graph-ql

ActiveMagento2-module[API Development](/categories/api)

yireo/magento2-additional-endpoints-graph-ql
============================================

0.0.3(5y ago)113.0k↓80%5[1 PRs](https://github.com/yireo/Yireo_AdditionalEndpointsGraphQl/pulls)OSL-3.0PHPPHP &gt;=7.0.0

Since Nov 1Pushed 3y ago3 watchersCompare

[ Source](https://github.com/yireo/Yireo_AdditionalEndpointsGraphQl)[ Packagist](https://packagist.org/packages/yireo/magento2-additional-endpoints-graph-ql)[ RSS](/packages/yireo-magento2-additional-endpoints-graph-ql/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (4)Used By (0)

Additional GraphQL endpoints for Magento 2
==========================================

[](#additional-graphql-endpoints-for-magento-2)

This module offers some additional endpoints for loading information through GraphQL.

Installation
------------

[](#installation)

Use the following commands to install this module into Magento 2:

```
composer require magento2-additional-endpoints-graph-ql:@dev
bin/magento module:enable Yireo_AdditionalEndpointsGraphQl
bin/magento setup:upgrade

```

`productById(Int id)` - Get a product by its ID
-----------------------------------------------

[](#productbyidint-id---get-a-product-by-its-id)

Example:

```
{
  productById(id:42){
    sku
    name
  }
}
```

`productBySku(String! sku)` - Get a product by its SKU
------------------------------------------------------

[](#productbyskustring-sku---get-a-product-by-its-sku)

Example:

```
{
  productBySku(sku:"VA22-SI-NA"){
    sku
    name
  }
}
```

`categoryById(Int id)` - Get a category by its ID
-------------------------------------------------

[](#categorybyidint-id---get-a-category-by-its-id)

Example:

```
{
  categoryById(id:1){
    id
    name
  }
}
```

`cmsBlock(String! identifier)` - Get a CMS block by its identifier
------------------------------------------------------------------

[](#cmsblockstring-identifier---get-a-cms-block-by-its-identifier)

Example:

```
{
  cmsBlock(identifier:"example"){
    title
    content
  }
}
```

`cmsPages` - Get all CMS pages
------------------------------

[](#cmspages---get-all-cms-pages)

Example:

```
{
  cmsPages {
    items {
      title
    }
  }
}
```

`cmsWidget(Int! id)` - Get a CMS widget by its ID
-------------------------------------------------

[](#cmswidgetint-id---get-a-cms-widget-by-its-id)

Example:

```
{
  cmsWidget(id: "2") {
    id
    title
    html
    parameters {
      name
      value
    }
  }
}
```

`validateCustomerToken` - Validate a customer token
---------------------------------------------------

[](#validatecustomertoken---validate-a-customer-token)

Example:

```
query validateToken {
  validateCustomerToken(token:"abc")
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Every ~270 days

Total

2

Last Release

2113d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (16 commits)")

---

Tags

magento2-modulemagentocomposer-installer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yireo-magento2-additional-endpoints-graph-ql/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-magento2-additional-endpoints-graph-ql/health.svg)](https://phpackages.com/packages/yireo-magento2-additional-endpoints-graph-ql)
```

###  Alternatives

[smile/elasticsuite

Magento 2 merchandising and search engine built on ElasticSearch

8044.5M33](/packages/smile-elasticsuite)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[yireo/magento2-googletagmanager2

Add Google Tag Manager to Magento

167930.4k5](/packages/yireo-magento2-googletagmanager2)[yireo/magento2-extensionchecker

Scan the code of a Magento module

96151.6k3](/packages/yireo-magento2-extensionchecker)[yireo/magento2-emailtester2

Preview transactional emails and test send them in your backend

33394.9k](/packages/yireo-magento2-emailtester2)[yireo/magento2-graph-ql-rate-limiting

Magento 2 module to add rate limiting to GraphQL resources

1419.8k](/packages/yireo-magento2-graph-ql-rate-limiting)

PHPackages © 2026

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