-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
80 lines (61 loc) · 1.57 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
## Slim 3 Settings
# NB: You can use ${BASE_DIR} here in order to automatically get your root project path
# 'dev' or 'prod'
SLIM3_MODE=dev
# Allow to get route name in middlewares
SLIM3_ROUTE_NAME_IN_MIDDLEWARE=true
# Add content-length to responses headers
SLIM3_ADD_CONTENT_LENGTH_HEADER=true
## App Settings
# Secret used in your app
APP_SECRET=@CHANGE_THIS_SECRET@
# Lang files location
APP_LANG_PATH=${BASE_DIR}/lang
# Upload files directory path
APP_UPLOADED_FILE_DIRECTORY=${BASE_DIR}/uploads
## Twig Settings
# Templates directory path
TWIG_TPL_PATH=${BASE_DIR}/templates
# Cache directory for twig (NB: while be set automatically to false when MODE=dev)
TWIG_CACHE_PATH=${BASE_DIR}/cache
## Monolog Settings
# Logger filename
MONOLOG_NAME=app
# Logger path
MONOLOG_PATH=${BASE_DIR}/logs/app.log
# Logger level (NB: we will use constant() to get its PHP equivalent)
MONOLOG_LEVEL=\Monolog\Logger::DEBUG
## DB Settings
# DB Type
DB_DRIVER=mysql
# DB Host
DB_HOST=localhost
# DB Port
DB_PORT=3306
# DB Database name
DB_DATABASE=app_db
# DB Username
DB_USERNAME=root
# DB Password
DB_PASSWORD=
# DB Charset type
DB_CHARSET=utf8
# DB Collation type
DB_COLLATION=utf8_unicode_ci
# DB prefix (eg: app_)
DB_PREFIX=
## Mailer Settings
# SMTP Server
MAILER_SMTP=smtp.mailtrap.io
# SMTP Port
MAILER_PORT=2525
# SMTP Username
MAILER_USERNAME=
# SMTP Password
MAILER_PASSWORD=
# SMTP Encryption (TLS/SSL/null)
MAILER_ENCRYPTION=
# SMTP Mail "From" (eg: [email protected])
# SMTP Name "From" (eg: SuperApp)
MAILER_NAME_FROM=SuperApp