Skip to content
/ SlimBoot Public

This repository contains a skeleton for quick bootstrapping of your project.

License

Notifications You must be signed in to change notification settings

grod/SlimBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlimBoot

This repository contains a skeleton for quick bootstrapping of your project.

What's included?

Plus a sassy gulp setup

Requirements

For buildning with gulp you need

Installation

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

Coding convention

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

Credits

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

About

This repository contains a skeleton for quick bootstrapping of your project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •