triangle / web
High performance MVC framework based on Triangle Engine and localzet Server
Requires
- php: ^8.2
- ext-curl: *
- ext-json: *
- triangle/console: ^1.3
- triangle/database: ^1.0
- triangle/engine: ^8.1
- triangle/engine-http: ^2.0
- triangle/events: ^1.0
- triangle/session: ^1.0
- triangle/view: ^2.0
Requires (Dev)
None
Suggests
- ext-libxml: For XML Support
- ext-simplexml: For XML Support
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v8.0.1
- v8.0.0
- v7.x-dev
- v7.0.5
- v7.0.4
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0.0
- v6.1.0
- v6.0.1
- v6.0.0
- v4.2.11
- v4.2.10
- v4.2.9
- v4.2.8
- v4.2.7
- v4.2.6
- v4.2.5
- v4.2.4
- v4.2.3
- v4.2.2
- v4.2.1
- v4.2.0
- v4.1.1
- v4.1.0
- v4.0.2
- v4.0.1
- v4.0
- v3.1.1
- v3.1.0
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.3.2
- v2.3.1
- v2.3.0
- dev-feat/engine-9-server-7-migration
This package is auto-updated.
Last update: 2026-12-04 19:34:15 UTC
README
Triangle Web
Triangle Web is a PHP application starter built on Triangle Engine and Localzet Server. It includes an HTTP route example and a lightweight MVC application layout.
Requirements
- PHP 8.4.1 or later and Composer;
- Triangle Engine 9, HTTP Engine 3, and Console 2;
- Localzet Server 7, pulled in by Triangle Engine 9.
Install the locked dependencies and start the application:
composer install php master start
The starter route is available at http://127.0.0.1:8000/hello/{name}. Run its loopback smoke test with composer test. Application classes under app/ use the app\ namespace. Configuration reads typed environment values through triangle_env() so Laravel helper collisions do not change boolean and numeric types.
Triangle Web — шаблон приложения
Triangle Web — PHP-шаблон приложения на Triangle Engine и Localzet Server. В него входят пример HTTP-маршрута и базовая структура MVC-приложения.
Требования
- PHP 8.4.1 или новее и Composer;
- Triangle Engine 9, HTTP Engine 3 и Console 2;
- Localzet Server 7, который подключается через Triangle Engine 9.
Установите зависимости и запустите приложение:
composer install php master start
Стартовый маршрут доступен по адресу http://127.0.0.1:8000/hello/{name}. HTTP smoke test на loopback запускается командой composer test. Классы приложения в app/ используют namespace app\. Конфигурация читает типизированные переменные через triangle_env(), чтобы глобальные helper-функции Laravel не меняли типы чисел и логических значений.
License
Project-authored code is licensed under AGPL-3.0-or-later; see LICENSE and NOTICE for preserved attributions and third-party license boundaries. Bundled themes, fonts, libraries, and generated assets retain their own license terms.