Skip to content

API ​

Whether values come from shared config, module config, or dynamic config, read them with config().

Basic usage ​

php
$db_type = config('db_type');

Typical uses ​

Database options, log levels, asset paths, and other runtime parameters are all read this way from the effective merged configuration.

PhpTide documentation