PHPackages                             larsroettig/module-graphqlstorepickup - 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. larsroettig/module-graphqlstorepickup

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

larsroettig/module-graphqlstorepickup
=====================================

Demo Module for GraphQL

2.0(6y ago)1063[3 issues](https://github.com/larsroettig/module-graphqlstorepickup/issues)MITPHPPHP ~7.2.0||~7.3.0CI failing

Since Nov 3Pushed 4y agoCompare

[ Source](https://github.com/larsroettig/module-graphqlstorepickup)[ Packagist](https://packagist.org/packages/larsroettig/module-graphqlstorepickup)[ RSS](/packages/larsroettig-module-graphqlstorepickup/feed)WikiDiscussions 1.0-develop Synced 2mo ago

READMEChangelog (3)Dependencies (10)Versions (6)Used By (0)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f01d383f5681ce382e38026f918147dc7e5b47bc58bafe7c9a48ecbb6c1d3757/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c617273726f65747469672f6d6f64756c652d6772617068716c73746f72657069636b75702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/larsroettig/module-graphqlstorepickup/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/7a3fc5a86e4360a04b1d83c23a49d0280f3c0706fd282ee260fb803b94050823/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c617273726f65747469672f6d6f64756c652d6772617068716c73746f72657069636b75702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/larsroettig/module-graphqlstorepickup/?branch=master)[![Build Status](https://camo.githubusercontent.com/e32d4eed8169424fd8aa9d56814f8f86e806bee839e809aa7daf6f0e80ab524e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c617273726f65747469672f6d6f64756c652d6772617068716c73746f72657069636b75702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/larsroettig/module-graphqlstorepickup/build-status/master)

Magento Module LarsRoettig\_GraphQLStorePickup
==============================================

[](#magento-module-larsroettig_graphqlstorepickup)

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)
- [How to use it](#markdown-header-how-to-use-it)

Main Functionalities
--------------------

[](#main-functionalities)

I will show how you can build your GraphQL for Magento 2.3 and extend them with a filter logic. Our use case is a Pickup from Store endpoint what our frontend team needs to create an interactive map.

---

**We are hire !**Wanna work for one of Germany’s leading Magento partners? With agile methods, small teams and big clients? We’re currently looking for experienced PHP &amp; Magento developers in Munich/Rosenheim. Sounds interesting? Just drop me a line via

---

**In the story, we have the following acceptance criteria.**

As a frontend developer, I need Endpoint to search for the next Pickup Store in a Postcode Area. Use a setup script initial import Allow search for Postcode or Name. API will return the following attributes for a Pickup Store

   Arrribute Name GraphQL field     Name name   Postcode postcode   Street street   Street Number street\_num   City city   Longitude longitude   Latitude latitude  ##### ❗ The Code is not for a **production server** it is only **proof of concept** imeplementation ❗

[](#exclamation-the-code-is-not-for-a-production-server-it-is-only-proof-of-concept-imeplementation-exclamation)

### Features

[](#features)

- Create new Table with Declarative Schema
- Use Data Patch to import Sample Data
- Implement own GraphQL Endpoint with Filter Query

Tested on Version
-----------------

[](#tested-on-version)

- Magento 2.3.3

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

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Zip file

[](#type-1-zip-file)

- Unzip the zip file in to `app/code/LarsRoettig/GraphQLStorePickup`
- Enable the module by running `php bin/magento module:enable LarsRoettig_GraphQLStorePickup`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Composer

[](#type-2-composer)

- Install the module composer by running `composer require larsroettig/module-graphqlstorepickup`
- enable the module by running `php bin/magento module:enable LarsRoettig_GraphQLStorePickup`
- apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

How to use it
-------------

[](#how-to-use-it)

Possibly Query (https://your\_domain.test/graphql)
--------------------------------------------------

[](#possibly-query-httpsyour_domaintestgraphql)

[![GraphQL_Playground](https://github.com/larsroettig/module-graphqlstorepickup/raw/master/doc/GraphQL_Playground.png)](https://github.com/larsroettig/module-graphqlstorepickup/blob/master/doc/GraphQL_Playground.png)

**Simple Query without an filter:**

```
{
  pickUpStores {
    total_count
      items {
        name
        street
        street_num
        postcode
      }
  }
}
```

**Query with an filter:**

```
{
  pickUpStores(
    filter: { name: { like: "Brick and Mortar 1%" } }
    pageSize: 2
    currentPage: 1
  ) {
    total_count
    items {
      name
      street
      postcode
    }
  }
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

3

Last Release

2358d ago

Major Versions

v0.1-beta → 1.02019-11-14

1.0 → 2.02019-11-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/27e60315a62709d9c586c07da6aee8481d907665e8b0c22cfacc8efa7ea49449?d=identicon)[larsroettig](/maintainers/larsroettig)

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/larsroettig-module-graphqlstorepickup/health.svg)

```
[![Health](https://phpackages.com/badges/larsroettig-module-graphqlstorepickup/health.svg)](https://phpackages.com/packages/larsroettig-module-graphqlstorepickup)
```

###  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)
