pjpawel/magis
最新稳定版本:v0.2.0
Composer 安装命令:
composer require pjpawel/magis
包简介
PHP templates engine
关键字:
README 文档
README
Services for symfony bundle for php templates rendering
Why Magis?
- It's incredible fast!
- It's easy to understand!
- It can implement all services you need!
Install
If you want to install Magis as symfony bundle you should use MagisBundle
composer require pjpawel/magis-bundle
If you want raw view service and view classes use (this repository)
composer require pjpawel/magis
Library classes
\pjpawel\Magis\ViewDispatcherService::class // service to dependency injection \pjpawel\Magis\View\DirectView::class // simple view class that has method render() to ... render template :) \pjpawel\Magis\View\MagicView::class // rich view class
Usage
You should use ViewDispatcherService as dependency injection service.
You can create custom service to render view or use create Views directly.
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-11-18