SERIXA

Modern SSR UI Framework for PHP

Write PHP widgets. Get semantic HTML. Compile offline CSS. Ship a tiny progressive-enhancement runtime.

Features

SSR widgets

Compose Flutter-inspired PHP widgets into clean HTML.

Theme Compiler

Offline CSS from design tokens and themes — no Tailwind Play CDN.

Tiny runtime

Optional serixa.js for modals, tabs, toasts — not a SPA framework.

Installation

Install the framework with Composer, then scaffold with the CLI.

composer require serixa/framework
composer require --dev serixa/cli
vendor/bin/serixa new blog
Full installation guide →

Code example

use Serixa\Component\Button;
use Serixa\Component\Text;
use Serixa\Document\Document;
use Serixa\Rendering\Renderer;

$document = Document::make()
    ->title('Hello')
    ->body(
        Text::make('Hello, SERIXA')->as('h1')->size('xl')->weight('bold'),
        Button::make('Continue')->primary(),
    );

echo (new Renderer())->render($document);

Official Packages

Framework

serixa/framework

SSR widget engine — Document, Renderer, ThemeManager, StyleSheet, client runtime.

Learn more →

Icons

serixa/icons

Official icon set with theme-aware SVG widgets.

Learn more →

Forms

serixa/forms

Form builder, binding, and validation helpers for SERIXA UIs.

Learn more →

Admin

serixa/admin

Admin shell, sidebar, top bar, and panel layouts.

Learn more →

Charts

serixa/charts

SSR SVG charts with progressive enhancement — UI only.

Learn more →

Calendar

serixa/calendar

Month, week, day, and agenda calendar widgets.

Learn more →
All packages →

Performance

Server-rendered HTML with memoized theme lookups and a lean client runtime that mounts interactive modules only when markers are present.

Read the performance notes →