Skip to content
docs.
WORKSPACE

Your documentation

Explore the project catalog
Localzet ServerАсинхронный PHP-серверTriangleФреймворк и компоненты✓MIX IDИдентификация и интеграцииHack APIПубличные API хакатонаACNПроект и компонентыUserlay / UserNetПроект и компонентыAxiomПроект и компонентыМесседжинг через почтуПроект и компонентыLWT / JWT / JOSEПроект и компонентыФинансовая аналитика KimaiПроект и компонентыМультипарадигмальная БДПроект и компонентыZorin PlatformПроект и компонентыZorin TrustПроект и компонентыFloraScope / VegwatchПроект и компонентыaegis-qДокументация проектаaevumdbДокументация проектаauditДокументация проектаauto-invest-managerАвтотрейдерcaine-companionДокументация проектаcertbot-cloudflareДокументация проектаClusterLocalzet Server / ClustercmdveilДокументация проектаConsolePHP CLICronБиблиотеки Localzet Serverdata-connectorДокументация проектаdevice-controlDevice Controlenn-projectДокументация проектаEventsБиблиотеки Localzet ServerflowsintДокументация проектаforgeДокументация проектаHttpClientБиблиотеки Localzet ServerinterpreterСобственный языкinvariaДокументация проектаkeynotesДокументация проектаknotrouteKnotroutelaravel-personal-analyticsДокументация проектаlocalzet-osДокументация проектаmeridianДокументация проектаMQTTБиблиотеки Localzet Servernano-kernelСобственная ОСNoterДокументация проектаpersonal-analyticsДокументация проектаProxyБиблиотеки Localzet ServerPSRБиблиотеки Localzet ServerPSR-7Библиотеки Localzet Serverrschs-monitorДокументация проектаsemsealДокументация проектаshardsealДокументация проектаSocketIOБиблиотеки Localzet ServerSOCKS5Библиотеки Localzet Serverstandalone-analyticsДокументация проектаstatic-php-cliДокументация проектаStorageБиблиотеки Localzet ServersutureДокументация проектаtempoweaveДокументация проектаttsСинтез речиTunnelБиблиотеки Localzet Serverui-kitUI KitvesperДокументация проектаWebAnalyzerWebAnalyzerzorin-access-brokerДокументация проектаzorin-authority-brokerДокументация проектаzorin-authority-sdk-phpДокументация проектаzorin-authority-sdk-pythonДокументация проектаzorin-authority-sdk-tsДокументация проектаzorin-client-intelДокументация проектаzorin-device-core-aospДокументация проектаzorin-host-agentДокументация проектаzorin-native-labДокументация проектаzorin-nodeДокументация проектаzorin-opsДокументация проектаdonstu-python-sdkДокументация проектаfloortraceFloortraceserver-rsLocalzet Server / Cluster
Catalog
Documentation/Triangle

Configuration and bootstrap lifecycle

Engine Config loads PHP files into a tree keyed by their relative filename. config/app.php becomes app., database.php becomes database., and nested enabled plugin configs become their path sections. Config::get() resolves dotted keys; Config::set(array) recursively merges values. Config::reloadAll() clears/reloads configuration, excluding executable route config when requested by Autoload. This is not a universal environment-overlay system.

A file named config/production.php returning app/server subarrays becomes production.app / production.server. The reviewed loader does not automatically apply it over app/server just because APP_ENV=production. Set the effective app/server config or implement and test an explicit overlay. Do not deploy the example file and assume debug became false.

The Web master loads Composer, establishes paths, loads environment and invokes Autoload. Autoload reloads config, configures error handling/timezone, initializes CLI or Server context, includes configured autoload files, then bootstraps available components. Database/session/router/middleware/events bootstrap behavior is component-specific; Cron uses its Autoload entry. User files and route files are executable PHP and can have side effects.

Configuration, globals, static registries and loaded classes can persist. Reload worker/config changes deliberately, avoid per-user data in global config and validate effective values after startup. Environment strings need explicit numeric/boolean parsing where typed APIs consume them; the worker-count cast is shown in the quick start. A string false is not automatically a boolean false.

Syntax errors, missing classes, unreadable paths and bootstrap exceptions can prevent startup. Validate configuration in an isolated environment, monitor startup logs, verify listeners and keep the previous artifact/config. A health response alone does not prove sessions, DB queries, plugins or command packaging work.

Config source · Web source. Reviewed 2026-10-17; Ivan Zorin / Localzet Group.