serixa/framework

SERIXA — a Flutter-inspired PHP UI framework. Write PHP widgets, get semantic HTML.

v1.0.0 2026-08-02 15:55 UTC

This package is auto-updated.

Last update: 2026-08-02 16:47:01 UTC


README

License: MIT PHP Version

Composer package: serixa/framework

SERIXA is a Flutter-inspired PHP UI framework: compose widgets in PHP, render semantic HTML, apply a theme, and ship offline CSS plus a tiny progressive-enhancement runtime.

This folder is the runtime engine inside the SERIXA monorepo. Scaffolding lives in serixa/cli.

Requirements

  • PHP 8.2+
  • Extensions: json, mbstring

Install

composer require serixa/framework
composer require --dev serixa/cli   # optional scaffolding
use Serixa\Component\Button;
use Serixa\Component\Column;
use Serixa\Component\Text;
use Serixa\Document\Document;
use Serixa\Document\DocumentRenderer;

echo DocumentRenderer::make()->render(
    Document::make()
        ->title('Hello SERIXA')
        ->body(
            Column::make(
                Text::make('Welcome'),
                Button::make('Get started')->primary(),
            ),
        ),
);

Official guides: Installation · Getting started · Styling · Accessibility

Develop here

composer install
composer qa
php examples/basic.php

Security

See SECURITY.md.

License

MIT — see LICENSE.