PHPackages                             oxid-esales/graphql-example - 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. oxid-esales/graphql-example

Abandoned → [oxid-esales/graphql-catalogue](/?search=oxid-esales%2Fgraphql-catalogue)ArchivedOxideshop-module[API Development](/categories/api)

oxid-esales/graphql-example
===========================

OXID eSales GraphQL example module

v1.1.0(6y ago)0692GPL-3.0PHPPHP ^7.1

Since Nov 6Pushed 5y ago13 watchersCompare

[ Source](https://github.com/OXID-eSales/graphql-example-module)[ Packagist](https://packagist.org/packages/oxid-esales/graphql-example)[ Docs](https://www.oxid-esales.com)[ RSS](/packages/oxid-esales-graphql-example/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

oxid-esales/graphql-example
===========================

[](#oxid-esalesgraphql-example)

[![Status](https://camo.githubusercontent.com/bcc7d2f1865e0854f2adbbd77644b9e870601af926cb9798bbe03fe0f0c444d2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374617475732d4162616e646f6e65642d7265643f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/bcc7d2f1865e0854f2adbbd77644b9e870601af926cb9798bbe03fe0f0c444d2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374617475732d4162616e646f6e65642d7265643f7374796c653d666f722d7468652d6261646765) [![Build Status](https://camo.githubusercontent.com/1a2951f7ed94bccc4f9a8d0c68cc098baf29306c2ea920dde52fe5da0a9d228d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f4f5849442d6553616c65732f6772617068716c2d6578616d706c652d6d6f64756c652f6d61737465722e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d747261766973)](https://travis-ci.com/OXID-eSales/graphql-example-module) [![PHP Version](https://camo.githubusercontent.com/8db2f8ce6dddb2cf9e9fec9847029bc6e7bb856f61bed438e746be691aa5e21e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6f7869642d6573616c65732f6772617068716c2d6578616d706c652e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/oxid-esales/graphql-example-module) [![Stable Version](https://camo.githubusercontent.com/07448f60667852b20cfbd9112f34768247474c8a7dc7faa2257f919dfaa103a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f7869642d6573616c65732f6772617068716c2d6578616d706c652e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d6c6174657374)](https://packagist.org/packages/oxid-esales/graphql-example)

This module is abandoned. Please look at [oxid-esales/graphql-catalogue](https://github.com/OXID-eSales/graphql-catalogue-module) for good examples instead.

---

This module provides a basic example on how to extend the [oxid-esales/graphql-base](https://github.com/OXID-eSales/graphql-base-module) module.

Usage
-----

[](#usage)

This assumes you have the OXID eShop up and running and installed and activated the `oxid-esales/graphql-base` module.

**DO NOT USE IN PRODUCTION, THIS MODULE IS FOR DEMO PURPOSES ONLY**

### Install

[](#install)

```
$ composer require oxid-esales/graphql-example
```

After requiring the module, you need to head over to the OXID eShop admin and activate the GraphQL Example module.

### How to use

[](#how-to-use)

1. Install [oxid-esales/graphql-base](https://github.com/OXID-eSales/graphql-base-module) module
2. Get token (see base module documentation)
3. Execute example query to get all categories

Request query

```
query {
  categories {
    id
    name
  }
}
```

Response example

```
{
    "data": {
        "categories": [
            {
                "id": "30e44ab83fdee7564.23264141",
                "name": "Bekleidung"
            },
            {
                "id": "943173edecf6d6870a0f357b8ac84d32",
                "name": "Wakeboarding"
            },
            {
                "id": "943a9ba3050e78b443c16e043ae60ef3",
                "name": "Kiteboarding"
            },
            {
                "id": "fadcb6dd70b9f6248efa425bd159684e",
                "name": "Angebote"
            },
            {
                "id": "oia9ff5c96f1f29d527b61202ece0829",
                "name": "Downloads"
            }
        ]
    }
}
```

Testing
-------

[](#testing)

### Linting, syntax, static analysis and unit tests

[](#linting-syntax-static-analysis-and-unit-tests)

```
$ composer test
```

### Integration tests

[](#integration-tests)

- install this module into a running OXID eShop
- change the `test_config.yml`
    - add `oe/graphql-example` to the `partial_module_paths`
    - set `activate_all_modules` to `true`

```
$ ./vendor/bin/runtests
```

License
-------

[](#license)

GPLv3, see [LICENSE file](LICENSE).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.4% 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 ~11 days

Total

4

Last Release

2341d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1374817?v=4)[oxid](/maintainers/oxid)[@OxID](https://github.com/OxID)

---

Top Contributors

[![realFlowControl](https://avatars.githubusercontent.com/u/14161194?v=4)](https://github.com/realFlowControl "realFlowControl (123 commits)")[![mtkoltan](https://avatars.githubusercontent.com/u/7591102?v=4)](https://github.com/mtkoltan "mtkoltan (16 commits)")[![proudcommerce](https://avatars.githubusercontent.com/u/4111533?v=4)](https://github.com/proudcommerce "proudcommerce (2 commits)")[![tkcreateit](https://avatars.githubusercontent.com/u/42207462?v=4)](https://github.com/tkcreateit "tkcreateit (2 commits)")[![angel-dimitrov](https://avatars.githubusercontent.com/u/12593227?v=4)](https://github.com/angel-dimitrov "angel-dimitrov (1 commits)")

---

Tags

graphqloxidoxid-modulegraphqlOXIDmoduleseshop

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/oxid-esales-graphql-example/health.svg)

```
[![Health](https://phpackages.com/badges/oxid-esales-graphql-example/health.svg)](https://phpackages.com/packages/oxid-esales-graphql-example)
```

###  Alternatives

[oxid-esales/graphql-storefront

OXID eSales GraphQL storefront module

2050.4k1](/packages/oxid-esales-graphql-storefront)[oxid-esales/graphql-base

OXID eSales GraphQL base module

24101.0k10](/packages/oxid-esales-graphql-base)[oxid-esales/oxideshop-ce

This package contains OXID eShop CE source code.

2381.1M187](/packages/oxid-esales-oxideshop-ce)[oxid-esales/graphql-configuration-access

OXID eSales GraphQL configuration access module

141.2k2](/packages/oxid-esales-graphql-configuration-access)[oxid-esales/paypal-module

This is the PayPal module for the OXID eShop.

36513.5k2](/packages/oxid-esales-paypal-module)[ddoe/wysiwyg-editor-module

Summernote WYSIWYG Editor for OXID eShop.

19981.7k2](/packages/ddoe-wysiwyg-editor-module)

PHPackages © 2026

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