Version: 1.0.0
| Dependency | Version |
|---|---|
| Php | 8 |
| Composer | 2 |
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 |