Skip to content

UI: Introduction

Partial

This feature is partially implemented. Check the documented limitations before using it.

Livewire admin panels on Core — panels, resources, and builders.

Streams UI (streams/ui) builds Livewire admin panels on top of Streams Core. You register a panel, define resource classes for each stream, and configure forms and tables with PHP builders.

Architecture

Panel (UI::panel)
  └── Resources (PHP classes)
        ├── ListEntries  → Table builder
        ├── CreateEntry  → Form builder
        └── EditEntry    → Form builder

There are no UI::form() or UI::table() Blade helpers. Builders are PHP objects wired through Livewire pages.

Minimal setup

use Streams\Ui\Support\Facades\UI;
use Streams\Ui\Builders\Panels\Panel;

UI::panel(
    Panel::make('admin')
        ->default()
        ->path('admin')
        ->middleware(['web'])
        ->resources([PostResource::class])
);

Visit /admin after registering at least one resource.

Related