comphp/ui
Composer 安装命令:
composer require comphp/ui
包简介
Driver-based UI rendering and reusable component support for PHP applications
README 文档
README
CommonPHP UI provides driver-based UI rendering and reusable component support for CommonPHP applications. It defines the common structure for rendering global components, layouts, and interface elements through interchangeable rendering drivers.
The package keeps UI composition consistent without locking applications to one rendering engine or template implementation.
Requirements
- PHP
^8.5 comphp/runtime:^0.3
Installation
Once this package is available through your Composer repositories, install it with:
composer require comphp/ui
Usage
<?php // TODO: Write usage
Package Notes
This package should provide driver-based UI rendering and global component support without locking the system to a specific renderer. Twig, PHP templates, or other rendering engines should be implemented as UI drivers.
Error Handling
Missing templates, invalid components, renderer failures, and driver errors should throw CommonPHP UI exceptions.
Documentation
License
MIT. See LICENSE.md.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-20