PhpTide uses plain PHP arrays for configuration: readable, fast, and flexible. Small projects can start with almost no custom files; larger apps can layer module config and dynamic overrides.
What configuration covers
Shared config, per-module config, and runtime dynamic config cover most needs—from database credentials to environment-specific switches.
Why arrays
Defining config as PHP arrays has clear benefits:
- No extra parser—lower load cost.
- Config files are code, so they stay expressive.
- They align naturally with convention-based directories.
This chapter
The following pages describe the config format, load order, how to read values, and how to change them dynamically at runtime.