quickstart
$ git clone https://gitlab.com/mascoda/simple-mvc.git
$ mv simple-mvc/* .
$ composer dumpautoload -o
you can jump forward to manifest
with explanation
clone the repository from gitlab
$ git clone https://gitlab.com/mascoda/simple-mvc.git
or download the zip and unzip on you server. You will find a simple-mvc directory, you can move the files one folder up with
$ mv simple-mvc/* .
change the root directory
If you use you root directory for the application, then you can skip this. Antoherwise open the .htaccess file an edit the follow line. Replace {app_directory} with the path to simple-mvc root.
# set your rewrite base
# Edit this in your init method too if you script lives in a subfolder
RewriteBase /{app_directory}
Go to you root directory and update Composer autoloader, like this
$ composer dumpautoload -o
Open url in browser or localhost.If you see the index.view.php is everything well.