ausus / view-system
AUSUS L5 — View System. ViewDefinition / PageDefinition / SectionDefinition: pure presentation metadata assembled for the React Renderer. No compile, no hash, no repository.
Package info
github.com/adonko3xBitters/view-system
Language:TypeScript
pkg:composer/ausus/view-system
v2.0.0
2026-06-27 17:55 UTC
Requires
- php: >=8.3
README
AUSUS 2.0 — View System (L5). Pure presentation metadata: ViewDefinition
→ PageDefinition → SectionDefinition, where a section shows a projection or an
action. No compile, no hash, no repository — it only assembles metadata for the
React Renderer to consume.
Installation
composer require ausus/view-system:^2.0
Dependencies
- PHP 8.3+
- none
Public surface
Ausus\View\ViewDefinition,Ausus\View\PageDefinition,Ausus\View\SectionDefinition— value objects withtoArray().Ausus\View\ViewRegistry— collects view definitions.
Minimal example
<?php use Ausus\View\ViewDefinition; $view = new ViewDefinition(/* entity, pages, sections */); $json = $view->toArray(); // consumed by @ausus/react-renderer
Documentation
See the canonical reference docs/v2/ and the
Quick Start.