framework.yaml 1.06 KB
Newer Older
Julien Jorry committed
1
framework:
2
    form: { enabled: true }
3
    templating: { engines: ['twig'] }
Julien Jorry committed
4 5
    secret: '%env(APP_SECRET)%'
    #default_locale: en
6
    csrf_protection: true
Julien Jorry committed
7
    validation: { enabled: true }
Julien Jorry committed
8 9 10 11 12 13 14 15 16 17 18 19
    #http_method_override: true

    # Enables session support. Note that the session will ONLY be started if you read or write from it.
    # Remove or comment this section to explicitly disable session support.
    session:
        handler_id: ~

    #esi: true
    #fragments: true
    php_errors:
        log: true

20 21
    serializer: { enable_annotations: true }

Julien Jorry committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35
    cache:
        # Put the unique name of your app here: the prefix seed
        # is used to compute stable namespaces for cache keys.
        #prefix_seed: your_vendor_name/app_name

        # The app cache caches to the filesystem by default.
        # Other options include:

        # Redis
        #app: cache.adapter.redis
        #default_redis_provider: redis://localhost

        # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)
        #app: cache.adapter.apcu