1
+ imports :
2
+ - { resource: parameters.yml }
3
+ - { resource: security.yml }
4
+ - { resource: services.yml }
5
+
6
+ # Put parameters here that don't need to change on each machine where the app is deployed
7
+ # http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
8
+ parameters :
9
+ locale : en
10
+
11
+ framework :
12
+ # esi: ~
13
+ # translator: { fallbacks: ['%locale%'] }
14
+ secret : ' %secret%'
15
+ router :
16
+ resource : ' %kernel.root_dir%/config/routing.yml'
17
+ strict_requirements : ~
18
+ form : ~
19
+ csrf_protection : ~
20
+ validation : { enable_annotations: true }
21
+ # serializer: { enable_annotations: true }
22
+ templating :
23
+ engines : ['twig']
24
+ default_locale : ' %locale%'
25
+ trusted_hosts : ~
26
+ trusted_proxies : ~
27
+ session :
28
+ # http://symfony.com/doc/current/reference/configuration/framework.html#handler-id
29
+ handler_id : session.handler.native_file
30
+ save_path : " %kernel.root_dir%/../var/sessions/%kernel.environment%"
31
+ fragments : ~
32
+ http_method_override : true
33
+ assets : ~
34
+ php_errors :
35
+ log : true
36
+
37
+ # Twig Configuration
38
+ twig :
39
+ debug : ' %kernel.debug%'
40
+ strict_variables : ' %kernel.debug%'
41
+
42
+ # Doctrine Configuration
43
+ doctrine :
44
+ dbal :
45
+ driver : pdo_pgsql
46
+ host : ' %database_host%'
47
+ port : ' %database_port%'
48
+ dbname : ' %database_name%'
49
+ user : ' %database_user%'
50
+ password : ' %database_password%'
51
+ charset : UTF8
52
+ # if using pdo_sqlite as your database driver:
53
+ # 1. add the path in parameters.yml
54
+ # e.g. database_path: "%kernel.root_dir%/../var/data/data.sqlite"
55
+ # 2. Uncomment database_path in parameters.yml.dist
56
+ # 3. Uncomment next line:
57
+ # path: '%database_path%'
58
+
59
+ orm :
60
+ auto_generate_proxy_classes : ' %kernel.debug%'
61
+ naming_strategy : doctrine.orm.naming_strategy.underscore
62
+ auto_mapping : true
0 commit comments