-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathconfig.yml
More file actions
46 lines (43 loc) · 1.36 KB
/
config.yml
File metadata and controls
46 lines (43 loc) · 1.36 KB
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
imports:
- { resource: services.yml }
- { resource: doctrine.yml }
- { resource: doctrine_migrations.yml }
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: en
framework:
#esi: ~
translator:
default_path: '%kernel.project_dir%/resources/translations'
fallbacks: ['%locale%']
secret: '%secret%'
router:
resource: '%kernel.project_dir%/config/routing.yml'
strict_requirements: ~
form: ~
csrf_protection: ~
validation:
enable_attributes: true
email_validation_mode: html5
serializer:
enabled: true
name_converter: 'serializer.name_converter.camel_case_to_snake_case'
#templating:
#engines: ['twig']
default_locale: '%locale%'
trusted_hosts: ~
handle_all_throwables: true
session:
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
handler_id: session.handler.native_file
save_path: '%kernel.application_dir%/var/sessions/%kernel.environment%'
cookie_secure: auto
cookie_samesite: lax
fragments: ~
http_method_override: true
assets: ~
php_errors:
log: true
mailer:
dsn: '%app.mailer_dsn%'