Skip to content

4uruanna/light-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light API

Version: 1.0.0

Prerequisites

Dependency Version
Php 8
Composer 2

Configuration

All values below are consumed via the global variable $_SERVER

Key Require Type Default Description
ENVIRONMENT False DEVELOPMENT, PRODUCTION or TEST DEVELOPMENT Environment
CACHE_DIRECTORY False String NULL Works only on production. Specifies where all caches should be stores
DATE_TIMEZONE False String NULL Relate to PHP timezones
ALLOW_CORS False Boolean FALSE Allow cross-origin resource sharing (CORS)
CORS_ORIGIN False String *
CORS_HEADERS False String *
CORS_METHODS False String GET, POST, PUT, PATCH, DELETE, OPTIONS

About

A slim API skeleton

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages