sushilk/phx
Composer 安装命令:
composer require sushilk/phx
包简介
A modern PHP frontend rendering and reactive UI library inspired by JSX, HTMX, Livewire, and server-driven UI concepts
README 文档
README
A modern PHP frontend rendering and reactive UI library inspired by JSX, HTMX, Livewire, and server-driven UI concepts.
⚠️ WARNING: DEVELOPMENT PHASE
Warning
PHX is currently in active development and is NOT production ready yet.
Features, APIs, folder structure, rendering behavior, and runtime internals may change at any time without backward compatibility.
Current Status
- Experimental runtime
- Internal APIs may break
- Incomplete documentation
- Performance optimizations in progress
- Security audit not completed
- Some features are unstable or partially implemented
Use this library only for:
- Learning
- Experimentation
- Local projects
- Prototype applications
- Contributing and testing
Do NOT use PHX in critical production systems yet.
Features
- JSX-like PHP syntax
- Reactive server-side rendering
- HTMX-friendly architecture
- Zero JavaScript optional components
- Blade-like templating concepts
- Component-based UI
- Lightweight runtime
- PHP-first developer experience
Installation
composer require sushilk/phx
Example
<?php use PHX\Component; class Button extends Component { public function render(): string { return <<<HTML <button class="btn"> Click Me </button> HTML; } }
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-11