This version is outdated. You should upgrade your project to Mako 9.1 or Mako 10.0!
Getting started

Installation



Requirements

  • PHP 7.0.0 or higher *
  • mbstring
  • PDO

* Tested on PHP 7.0.x, 7.1.x and 7.2.x


Setup

Installing Mako is easy and can be with done in a few simple steps thanks to composer.

First you'll have to create a new project:

composer create-project mako/app <project name>

Next you'll have to make the app/storage/* directories writable (command my vary depending on your system):

chown www-data:www-data -R app/storage

Now you're ready to start coding!

Note that only the most essential services are enabled by default. Enable the ones that you need by uncommenting them in the app/config/application.php configuration file.


Updating

Mako can easily be updated when a new version is released using the following command:

composer update

Note that some updates might require some minor code changes. These will be documented in the upgrade guides.