This repository contains a skeleton for quick bootstrapping of your project.
Plus a sassy gulp setup
Clone or download the repo and run these commands in your project root:
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar install
$ npm install
Make sure your web server user can read the RedBean package:
$ chmod +r vendor/redbeanphp/*
You then build the project with $ gulp
SlimBoot expects your controller files to be named MyController.php and class name should be MyController. When called from the router the argument should be lowercase and without the 'Controller' suffix. Like this: $app->controller('my');
Please note that you should never have to edit source files in the /public/ folder. Those files are generated by $ gulp
Some ideas and code borrowed from slim-app-template by my good friend Magnus Eriksson.
ReadBeanPHP doesn't support composer. Workaround by Costin Moise https://github.com/necenzurat/redbeanphp-composer