ckrack/slim3-boilerplate

This package is abandoned and no longer maintained. No replacement package was suggested.

Opinionated slim3 boilerplate containing league/plates and league/container as replacements for twig and pimple. Also, monolog and phpdotenv will be integrated.

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Language:CSS

Type:project

v1.0.1 2017-02-13 19:26 UTC

README

This is an opinionated boilerplate for the Slim3 PHP micro framework.

You can use it to quickly start a Slim3 project with the Plates template engine, the League/Container, Monolog, PHPDotEnv and some simple Gulp tasks for your SCSS and javascript needs.

Installation

First, create project via composer

composer create-project ckrack/slim3-boilerplate --stability="dev"

Then, ìnstall npm packages:

npm install

Running

You can simply run gulp to get a running version in a browser. This is done via the builtin PHP server, that is proxied in broser-sync. The default gulp task starts this and watches js/css files aswell as PHP templates.

gulp