PHPackages                             yireo/magento2-graph-ql-schema-manipulation - 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-graph-ql-schema-manipulation

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

yireo/magento2-graph-ql-schema-manipulation
===========================================

Magento module to manipulate the GraphQl schema

0.0.2(1y ago)04721OSL-3.0PHP

Since Aug 6Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/yireo/Yireo_GraphQlSchemaManipulation)[ Packagist](https://packagist.org/packages/yireo/magento2-graph-ql-schema-manipulation)[ RSS](/packages/yireo-magento2-graph-ql-schema-manipulation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Yireo GraphQlSchemaManipulation
===============================

[](#yireo-graphqlschemamanipulation)

**Magento 2 module to manipulate the GraphQL schema before it is being used. This can be useful when trying to remove endpoints that are added by monolithic extensions and perhaps other use-cases.**

### Installation

[](#installation)

```
composer require yireo/magento2-graph-ql-schema-manipulation
bin/magento module:enable Yireo_GraphQlSchemaManipulation
```

### Usage

[](#usage)

To manipulate the schema yourself, you will need to create a class similar to the following:

```
class ExampleSchemaManipulator implements \Yireo\GraphQlSchemaManipulation\Schema\ManipulationInterface
{
    public function manipulateFieldsConfig(array $config): array
    {
        foreach ($config as $fieldIndex => $field) {
            if (in_array($fieldIndex, ['isEmailAvailable'])) {
                unset($config[$fieldIndex]);
            }
        }

        return $config;
    }
}
```

Next, create a `di.xml` file that adds this class to this module:

```

                ExampleSchemaManipulator

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance51

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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 ~180 days

Total

2

Last Release

464d 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 (9 commits)")

### Embed Badge

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

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

###  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)[graycore/magento2-cors

A Magento 2 module that enables CORS on the GraphQL and REST Apis

99516.1k](/packages/graycore-magento2-cors)[elgentos/module-prismicio

Magento 2 - Prismic.io integration

39112.0k3](/packages/elgentos-module-prismicio)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)

PHPackages © 2026

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