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 2y 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 today

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

12

—

LowBetter than 0% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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://avatars.githubusercontent.com/u/171520701?v=4)[Variuss7](/maintainers/Variuss7)[@Variuss7](https://github.com/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

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k13](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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