Group and structure Settings.yaml files in Flow

Did you know, that you can structure and group Settings.yaml files in the PHP framework Flow?

Having all settings in a single Settings.yaml file can become cluttering and not want you want 🙂

Flow allows for splitting Settings.yaml into smaller files like this

Splitted Settings.yaml and Routes.yaml files

To give an example, my Settings.Http.yaml file contains my configuration of a HTTP Middleware like this

Neos:
Flow:
http:
middlewares:
'organizationParameter':
position: 'before routing'
middleware: 'Dafis\Application\Http\Middleware\OrganizationMiddleware'

and Settings.I18n.yaml contains configuration of the locale for this application

Neos:
Flow:
i18n:
defaultLocale: 'da'