Skip to content

View Services ​

Directory: src/Services/View/

The View namespace provides PHP-side builders for constructing Vue component schemas and navigation structures that are passed to the frontend via Inertia props.

Classes ​

ClassDescriptionPage
UComponentFluent builder for a single Vue component schema array→
UWidgetExtends UComponent; wires Connector data into dashboard widget schemas→
UWrapperStatic factory for grid-based layout wrappers (v-row / v-col)→
ModularousNavigationBuilds sidebar navigation arrays with permissions, badges, and active states→

Rendering Model ​

UComponent::render() returns a plain PHP array:

php
[
    'tag'        => 'ue-form',
    'attributes' => [...],
    'slots'      => [...],
    'directives' => [...],
    'elements'   => [...],   // only present when children exist
]

This array is serialized to JSON by Inertia and consumed by the corresponding Vue component on the frontend. The tag key maps directly to a registered Vue component name.