# framework_html_controller
**Repository Path**: vijay_0215/framework_html_controller
## Basic Information
- **Project Name**: framework_html_controller
- **Description**: 用于喵框架的输出html的控制器基类
- **Primary Language**: PHP
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2019-10-31
- **Last Updated**: 2022-06-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# framework_html_controller
## 介绍
用于喵框架的输出html的协议实现
## 安装教程
```shell script
composer require dreamcat/frame_html_controller
```
## 使用方法
控制器使用 `DreamCat\FrameHtmlCtl\HtmlProtocol` 类做协议即可,要求控制器方法返回 `DreamCat\FrameHtmlCtl\HtmlControllerResponse` ,其中的数组,
键是模板中的变量名称,支持多级数组,内部使用 [Twig](https://twig.symfony.com)。