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

ActiveProject[Framework](/categories/framework)

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

MMi Framework project with CMS - standard edition

2.0.0(1mo ago)2998MITMakefile

Since Sep 23Pushed 1mo ago3 watchersCompare

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

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

MMi CMS Standard
================

[](#mmi-cms-standard)

A standard project skeleton for building applications on top of [MMi CMS](https://github.com/milejko/mmi-cms) — a PHP content management system built on the MMi Framework.

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

[](#requirements)

- PHP 8.5+
- Composer
- SQLite (default) or a supported PDO-compatible database

Getting started
---------------

[](#getting-started)

### Option 1: PHP built-in server (quickest)

[](#option-1-php-built-in-server-quickest)

```
cp .env.dist .env   # if applicable — edit values as needed
make up
```

This will:

1. Run `composer install`
2. Set write permissions on `var/`
3. Create `var/db.sqlite`
4. Run database migrations (`bin/mmi Mmi:DbDeploy`)
5. Start the PHP CLI server at

### Option 2: Docker + Apache

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

```
make docker-up
```

This builds the image, starts the container (Apache on port 8080), installs dependencies, sets up the database and drops you into a bash shell inside the container. The project root is volume-mounted at `/var/www/html`.

Stop and remove the container:

```
make docker-down
```

Configuration
-------------

[](#configuration)

All runtime configuration is in `.env`. Key variables:

VariableDefaultDescription`APP_DEBUG_ENABLED``1`Enable debug mode`APP_BASE_URL`*(empty)*Base URL override`APP_VIEW_CDN`*(empty)*CDN prefix for assets`CMS_AUTH_SALT`—**Set this to a random secret**`CMS_LANG_DEFAULT``en`Default language`CMS_THUMB_QUALITY``80`JPEG thumbnail quality`DB_DRIVER``sqlite`Database driver`DB_HOST``./var/db.sqlite`DB host or path (SQLite)`CACHE_SYSTEM_ENABLED``0`System cache on/off`CACHE_PUBLIC_ENABLED``0`Public cache on/offFor Docker, change `DB_HOST` to `/app/var/db.sqlite` (see the comment in `.env`).

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

[](#project-structure)

```
src/App/
  AppRouterConfig.php     # Extend to add custom routes
  AppSkinsetConfig.php    # Register skin(set) configs here
  di.app.php              # DI container bindings
etc/apache2/              # Apache vhost config (used by Docker)
var/                      # Runtime data — writable by the web server
  cache/
  data/
  db.sqlite
  log/
  session/
bin/mmi                   # CLI entry point

```

CLI
---

[](#cli)

```
bin/mmi :
```

Useful commands:

```
bin/mmi Mmi:DbDeploy      # Run pending database migrations
bin/mmi Mmi:Cache:Clean   # Clear all caches
```

Extending the application
-------------------------

[](#extending-the-application)

### Adding routes

[](#adding-routes)

Extend `AppRouterConfig` in `src/App/AppRouterConfig.php`:

```
class AppRouterConfig extends CmsRouterConfig
{
    public function __construct()
    {
        parent::__construct();
        $this->addRoute(new \Mmi\Mvc\RouterConfig\Route(...));
    }
}
```

### Adding skins/templates

[](#adding-skinstemplates)

Register a skin in `src/App/AppSkinsetConfig.php`:

```
public function __construct()
{
    $this->addSkin(new MySkinConfig());
}
```

### Dependency injection

[](#dependency-injection)

Add or override services in `src/App/di.app.php`:

```
return [
    RouterConfig::class => create(AppRouterConfig::class),
    // add your own bindings here
];
```

License
-------

[](#license)

MIT

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance90

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 86.5% 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 ~111 days

Recently: every ~703 days

Total

36

Last Release

53d ago

Major Versions

1.5.1 → 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 (7 commits)")

### Embed Badge

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

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

###  Alternatives

[laravel/dusk

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

1.9k39.6M298](/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)
