teefax/slim-skeleton

A Slim Framework skeleton with SlimController, Idiorm, Twig, Compass and Bootstrap

dev-master 2014-07-15 10:47 UTC

This package is not auto-updated.

Last update: 2024-04-23 04:09:35 UTC


README

This is my Slim framework skeleton with:

  • Slim Framework 2.*
  • Slim Views for Twig Templates
  • SlimController
  • Idiorm 1.5.*
  • Swiftmailer
  • slim-whoops
  • phpref
  • Compass and Bootstrap-Sass for CSS

Heavily based on jarretgabel/php-slim-framework-boilerplate and apipemc/slim-skeleton.

Usage:

Clone this repo, edit app/config/app.php and app/config/db.php, create models in app/models/* and controllers in app/controllers/*.

Define routes in app/routes.php

With ruby installed, run bundle install to get the required gems, and then run bundle exec compass watch to automatically compile your stylesheets when something changes in app/asses/sass/.