avris/micrus

Beauty of simplicity - An elegant PHP framework

v3.2.1 2017-07-13 16:00 UTC

README

How big does a framework need to be to provide you with a quick, easy and comfortable way of creating neatly structured MVC websites? That can easily be extended and configured?

Well, not big at all. Just try Micrus! Its goal is to keep it as simple as possible, while offering all the most important features, as listed here:

  • Object oriented
  • Very clear MVC structure
  • Dependency Injection Container
  • Event dispatching
  • ORM agnostic, support for Doctrine and RedBean
  • REST-ful routing
  • CRUD generator
  • Template agnostic, support for Twig and plain PHP
  • Authentication and authorization
  • Easy configuration with YAML
  • Console tasks using Symfony Console
  • Forms
  • Localization
  • Logging with Monolog (PSR-3 compliant)
  • Caching (PSR-6 compliant)
  • Flash messages

Documentation

Full documentation is available at docs.avris.it/micrus

Instalation

Starting a project based on Micrus is simple. Just install Composer and run:

composer create-project avris/micrus-starter my_new_project

Composer will download the project with all of its dependencies. It will ask you for server parameters (like database connection) and will generate a secret encryption key unique for your app.

If there are some fixtures available in the project, you can load them with:

bin/micrus db:fixtures

And that's it. If your server is configured correctly, your app should be available under the URL:

http://localhost/my_new_project/web/app_dev.php

You might also want to check out the demo project:

composer create-project avris/micrus-demo

Copyright