Used formats - Gimanh/ZXC_PHP GitHub Wiki
Config
Before run application ZXC_PHP parsing given config and initialise necessary modules, register all routes and prepare all needed data.
What about config for ZXC_PHP.
Config is associative array with required keys and specific hierarchy. Root node key name is ZXC
{array}
which has nested keys Router
{array}
, Modules
{array}
, Autoload
{array}
each one has logic name.
Router
{array}
- this section define config for routes, middleware and preflight requests.
Modules
{array}
- this section define config for modules.
Autoload
{array}
- this section define config for autoloading classes.