mmi/mmi-cms

The CMS written with MMi Framework

Installs: 22 980

Dependents: 2

Suggesters: 0

Security: 0

Stars: 6

Watchers: 8

Forks: 3

Open Issues: 0

Language:JavaScript

5.8.37 2024-11-15 09:44 UTC

This package is auto-updated.

Last update: 2024-11-15 09:45:07 UTC


README

What is MMi CMS?

  • MMi CMS is a content management system written with MMi PHP Framework. It allows developers to build CMS solutions easily.

Requirements

  • MMi CMS is only supported on PHP 8.1 and up.

Installation

The best way to install MMi CMS is to use composer:

  1. composer require mmi/mmi-cms
  2. configure Your environment in .env (.env.sample can be found in this repository)
  3. you will need to inject (for example in /src/App/di.app.php):
    • RouterConfig::class pointing to your router configuration class
    • NavigationConfig::class pointing to the Navigation config (ie. CmsNavigationConfig::class)
    • CmsSkinsetConfig::class pointing to the Skinset config
    • AuthInterface::class pointing to the Authentication model (ie. Cms\Security\AuthProvider)
    • AppEventInterceptorInterface::class pointing to CmsAppEventInterceptor::class or a subclass ot this
    • Optionally you can inject AuthProviderInterface::class to manage user authentication process
  4. deploy your database with ./bin/mmi Mmi:DbDeploy

.env configuration:

  • CMS_AUTH_SALT=some-random-salt (should be random)
  • CMS_LANG_DEFAULT=en (default admin panel language)
  • CMS_THUMB_QUALITY=85 (WebP / JPEG quality in %)