PHPackages                             variuss/module-matt-pokemon - 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. variuss/module-matt-pokemon

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

variuss/module-matt-pokemon
===========================

Pokemon API test module

01PHP

Since Jun 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Variuss/matt-pokemon)[ Packagist](https://packagist.org/packages/variuss/module-matt-pokemon)[ RSS](/packages/variuss-module-matt-pokemon/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Module instruction

This module provides example implementation of PokeApi: Currently there is name and imgUrl(front\_default) available.

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

[](#installation)

COMPOSER INSTALLATION Run composer command: $&gt; composer require variuss/module-matt-pokemon

MANUAL INSTALLATION Extract files from an archive

deploy files into Magento2 folder app/code/Matt/Pokemon

Explanations
------------

[](#explanations)

Observer is responsible for clear cache when product is updated. Plugin is responsible for update the product name on detail page. In Service directory we have:

- Gateway for connection and returning appropriate response
- ConfigurationReader for config reading
- PokeApiService for providing data from api

Also in HttpRemote there are classes responsible for request and response objects to keep everything object oriented.

In setup there is only installation of our product attribute. In ViewModel we are retrieving data for listing template.

Bonus 1 Test
------------

[](#bonus-1-test)

Only one basic sample testing class for ConfigurationReader.

Bonus 2 GraphQl
---------------

[](#bonus-2-graphql)

There is one sample graphql query to get data for PWA projects when we don't use basic Magento front templates.

```
{
  getPokeData(product_id: 1) {
        name
        img_url
        message
  }
}
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity18

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/variuss-module-matt-pokemon/health.svg)

```
[![Health](https://phpackages.com/badges/variuss-module-matt-pokemon/health.svg)](https://phpackages.com/packages/variuss-module-matt-pokemon)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[microsoft/microsoft-graph

The Microsoft Graph SDK for PHP

65723.5M95](/packages/microsoft-microsoft-graph)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)

PHPackages © 2026

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