Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lefuturiste/slim3-template-api-simple
lel
https://github.com/lefuturiste/slim3-template-api-simple
Last synced: 4 days ago
JSON representation
lel
- Host: GitHub
- URL: https://github.com/lefuturiste/slim3-template-api-simple
- Owner: lefuturiste
- Created: 2018-07-07T22:24:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-07T22:35:21.000Z (over 6 years ago)
- Last Synced: 2023-07-15T08:10:47.727Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Slim3 template API
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-simple`
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