serixa / framework
SERIXA — a Flutter-inspired PHP UI framework. Write PHP widgets, get semantic HTML.
v1.0.0
2026-08-02 15:55 UTC
Requires
- php: ^8.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0
Suggests
- serixa/cli: Official scaffolding CLI (serixa new, make:*, build, docs)
README
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.