ausus/view-system

AUSUS L5 — View System. ViewDefinition / PageDefinition / SectionDefinition: pure presentation metadata assembled for the React Renderer. No compile, no hash, no repository.

Maintainers

Package info

github.com/adonko3xBitters/view-system

Language:TypeScript

pkg:composer/ausus/view-system

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v2.0.0 2026-06-27 17:55 UTC

This package is auto-updated.

Last update: 2026-06-29 03:20:12 UTC


README

AUSUS 2.0 — View System (L5). Pure presentation metadata: ViewDefinitionPageDefinitionSectionDefinition, 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 with toArray().
  • 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.