PHPackages                             mmi/mmi-standard - 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. mmi/mmi-standard

ActiveProject[Framework](/categories/framework)

mmi/mmi-standard
================

MMi Framework project - standard edition

2.0.0(1mo ago)283MITMakefile

Since Sep 21Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/milejko/mmi-standard)[ Packagist](https://packagist.org/packages/mmi/mmi-standard)[ RSS](/packages/mmi-mmi-standard/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (43)Used By (0)

MMi Standard — Developer Guide
==============================

[](#mmi-standard--developer-guide)

A skeleton application built on the [MMi Framework](https://github.com/milejko/mmi) (v5+).

Requirements
------------

[](#requirements)

ToolVersionPHP8.4+Composer2.xDocker *(optional)*20+Quick start
-----------

[](#quick-start)

### Option A — PHP built-in server

[](#option-a--php-built-in-server)

```
composer install
make up          # starts php -S 127.0.0.1:8080
```

Open .

### Option B — Docker (Apache)

[](#option-b--docker-apache)

```
make docker-up   # builds image, runs container, opens bash inside it
```

The container maps port `8080 → 80` and mounts the project root as a volume, so code changes are reflected immediately without rebuilding.

---

Environment configuration
-------------------------

[](#environment-configuration)

Copy `.env` to `.env.local` and adjust values. `.env.local` is git-ignored.

VariableDefaultDescription`APP_DEBUG_ENABLED``1`Enable debug output`APP_VIEW_CDN`*(empty)*CDN prefix for assets`APP_BASE_URL`*(empty)*Base URL override`CACHE_SYSTEM_ENABLED``1`Internal framework cache`CACHE_PUBLIC_ENABLED``1`Public HTTP cache`DB_HOST``localhost`Database host`DB_USER`*(empty)*Database user`DB_NAME``test`Database name`DB_PASSWORD`*(empty)*Database password---

Project structure
-----------------

[](#project-structure)

```
src/
  App/
    AppRouterConfig.php   # Route definitions
    di.app.php            # DI container config
    Resource/
      template/
        layout.tpl        # Global HTML layout
  Sample/
    HelloController.php   # Example controller
    resource/
      template/
        hello/
          index.tpl       # View for HelloController::indexAction
etc/
  apache2/
    sites-enabled/
      000-default.conf    # Apache vhost (used in Docker)
web/                      # Document root (generated by composer install, git-ignored)
var/                      # Cache, logs, sessions (git-ignored)

```

---

Adding a module
---------------

[](#adding-a-module)

1. **Create a controller** in `src//` extending `Mmi\Mvc\Controller`:

```
namespace MyModule;

use Mmi\Mvc\Controller;

class ArticleController extends Controller
{
    public function indexAction(): void {}
}
```

2. **Add a template** at `src//resource/template//.tpl`.
3. **Register a route** in `AppRouterConfig.php`:

```
$this->setRoute('my-module', 'articles', ['module' => 'my-module'], ['controller' => 'article', 'action' => 'index']);
```

---

DI container
------------

[](#di-container)

`src/App/di.app.php` returns a PHP-DI array. Override or add services there:

```
return [
    RouterConfig::class => create(AppRouterConfig::class),
    MyService::class    => create(MyServiceImpl::class),
];
```

---

Make targets
------------

[](#make-targets)

TargetDescription`make up` *(default)*Start PHP built-in server on port 8080`make docker-up`Build image, start container, open interactive bash`make docker-down`Stop and remove the container

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance89

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~95 days

Recently: every ~839 days

Total

42

Last Release

54d ago

Major Versions

1.4.2 → 2.0.02026-05-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/f986340afe26a382bdec4d838f514714b6f5bc7222baf73972001a66b9b6dab0?d=identicon)[emisarius](/maintainers/emisarius)

---

Top Contributors

[![milejko](https://avatars.githubusercontent.com/u/14335568?v=4)](https://github.com/milejko "milejko (45 commits)")[![maqlec](https://avatars.githubusercontent.com/u/13941930?v=4)](https://github.com/maqlec "maqlec (10 commits)")

### Embed Badge

![Health badge](/badges/mmi-mmi-standard/health.svg)

```
[![Health](https://phpackages.com/badges/mmi-mmi-standard/health.svg)](https://phpackages.com/packages/mmi-mmi-standard)
```

###  Alternatives

[laravel/dusk

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

1.9k39.6M297](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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