Skip to content

stardustcommunity/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api

The api is the main hub of all services

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

Quick install

Just run a:

composer create-project lefuturiste/slim3-template-api

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)

The console

This template include console powered by symfony console:

The console allowed this commands:

Local dev server

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

Maintenance mode

(not finish)

Maintenance mode allow a independent maintenance mode from your web application.

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.

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

About

The api is the main hub of all services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published