PHPackages                             yireo-training/magento2-example-dealers - 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. [Framework](/categories/framework)
4. /
5. yireo-training/magento2-example-dealers

ActiveMagento2-module[Framework](/categories/framework)

yireo-training/magento2-example-dealers
=======================================

Magento 2 module demonstrating a MVC-structure for displaying dealers

281PHPCI failing

Since Jan 23Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/yireo-training/magento2-example-dealers)[ Packagist](https://packagist.org/packages/yireo-training/magento2-example-dealers)[ RSS](/packages/yireo-training-magento2-example-dealers/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Magento 2 example of a MVC module
=================================

[](#magento-2-example-of-a-mvc-module)

This module demonstrates the usage of MVC within a module, through the concept of having dealer entries in the frontend:

Technical layout
----------------

[](#technical-layout)

- Module `Yireo_ExampleDealers`
    - API repository interface
    - API model interface
    - Repository class
    - Model class
    - ResourceModel class
    - Collection class
- Module `Yireo_ExampleDealersFrontend`
    - Controllers &amp; routing
    - ViewModel
    - XML layout
    - PHTML templating
- Module `Yireo_ExampleDealersAdminhtml` (@todo)
    - UiComponent grid
    - UiComponent form
- Module `Yireo_ExampleDealersGraphql` (@todo)
    - GraphQL resource
    - Dummy React component
- Module `Yireo_ExampleDealersCqrs` (@todo)
    - Replacement repository with Queries and Commands

Specific notes
--------------

[](#specific-notes)

- The repository has more methods than a regular repository, to help other developers accomplish specific tasks quicker: `getAll()`, `getItems()`, `getSearchCriteriaBuilder()`;
- A `DealerSearchCriteriaBuilder` that has knowledge of the database structure, without requiring you to have that same knowledge;
- No more Blocks, because ViewModels are cooler;
- No more Setup-scripts, because `db_schema.xml` is easier;

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance41

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

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/4a6a4e3ec0e7f3a8d2d223c90c5545319fc0a382afd3bc10cd910fedc0fa8f5d?d=identicon)[yireo-training](/maintainers/yireo-training)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yireo-training-magento2-example-dealers/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-training-magento2-example-dealers/health.svg)](https://phpackages.com/packages/yireo-training-magento2-example-dealers)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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