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

Web scaffold and request lifecycle

triangle/web is an application scaffold, not the Engine library. Its manifest includes Engine, HTTP engine, Console, Database, Session, View and Events. Use the verified quick start and retain the resulting application lock.

PathRole
masterCLI startup; Composer, paths, environment, Autoload, Console
config/app.phpEffective app/debug/response/header behavior
config/server.phpListener, worker count, handler, runtime file settings
config/route.phpExecutable route registration
config/process.phpOptional background processes/monitor
app/controllerController classes; preserve namespace/path case
app/viewTrusted templates, not user uploads
publicPublic assets; no secrets or private files
runtimeWritable logs/session/runtime data; not source-controlled secrets

The Server receives transport input, HTTP engine creates request/context and resolves an explicit/default route. Middleware wraps the controller/callback; the returned response is encoded by Server. Context cleanup and exception rendering are runtime code, not permission checks. Add application authorization explicitly. Long-lived workers can reuse classes/services between requests; avoid retaining user state in static or cached objects.

Use responseJson for an explicit API, view() for a configured template renderer and the Database component after bootstrap for SQL. Configure sessions and CSRF for browser state changes. The complete route example is intentionally independent of a database: CRUD requires migrations, validation, authorization and mass-assignment policy, not a copy/paste User::create endpoint.

Apply effective production config, disable debug, set correct status behavior and restrict CORS. Use TLS at the intended proxy, private internal listeners, writable per-instance runtime files and a supervised foreground process. Test actual request/reload/shutdown and external dependencies. Config/production.php is not automatically an app/server overlay in the reviewed loader. HTTP and WS engines conflict in Composer; use separate app scaffolds where required.

Configuration · Security · Components. Source: Web 9e2ab3eab3ff and Engine 89dac7f51f94.