2017 © Pedro PelĂĄez
 

project slim3-template

This is simple template of slimframework 3 and integrations of others php librarys.

image

lefuturiste/slim3-template

This is simple template of slimframework 3 and integrations of others php librarys.

  • Thursday, May 10, 2018
  • by lefuturiste
  • Repository
  • 0 Watchers
  • 1 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 27 Versions
  • 0 % Grown

The README.md

Slim3 template

This is simple template of slimframework 3 and integrations of others php librarys., (*1)

Quick install

Just run a:, (*2)

composer create-project lefuturiste/slim3-template, (*3)

Create a .env file in the root directory and fill it with env vars fields (you can get the list of the fields in .env.example), (*4)

The console

This template include console powered by symfony console:, (*5)

The console allowed this commands:, (*6)

Local dev server

  • php console serve -> for run a local dev server with php cli

Maintenance mode

(not finish), (*7)

Maintenance mode allow a independent maintenance mode from your web application., (*8)

Maintenance mode is made for rename index.php file in web root directory (public) by _index.php and rename maintenance.php file by index.php file and vice versa., (*9)

  • php console maintenance open -> for enable maintenance mode
  • php console maintenance close -> for disable maintenance mode

Assets compiling

This template include gulpfile.js, (*10)

Sass compiling with bourbon and live reload

gulp sass gulp sass:watch, (*11)

Compile and minify many js file in once file

gulp concat-scripts gulp minify-scripts, (*12)

The Versions