2017 © Pedro Peláez
 

project slim3-template-api-simple

Slim3 template, ready to start. This is Api version of slim3 template with more lightly template.

image

lefuturiste/slim3-template-api-simple

Slim3 template, ready to start. This is Api version of slim3 template with more lightly template.

  • Sunday, July 8, 2018
  • by lefuturiste
  • Repository
  • 0 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Slim3 template API

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-api-simple, (*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

The Versions