Skip to content

Configuration reference

Greg Bowler edited this page May 11, 2026 · 4 revisions

This page is a lookup reference for the config keys used by WebEngine. For the conceptual overview of how config is loaded and used, see Configuration.

Reference structure

The easiest way to document WebEngine config is by section. Each section groups related keys, and each key should be understood in terms of:

  • what it controls
  • its default value
  • when you might want to override it

Main sections

The main sections are:

  • app
  • router
  • view
  • logger
  • session
  • database
  • security

For the underlying config package, see https://www.php.gt/docs/Config/Home/.

Practical notes

Some keys mainly affect development, such as debug or logging behaviour. Others matter more in production, such as database credentials, session settings, and security-related values.

When in doubt, keep project-level defaults small and override only what the environment genuinely needs to change.


Move on to the routing reference page.

Clone this wiki locally