pjpawel/magis-bundle
最新稳定版本:v0.1.1
Composer 安装命令:
composer require pjpawel/magis-bundle
包简介
The Symfony bundle to PHP templates
README 文档
README
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 symfony bundle
composer require pjpawel/magis-bundle
If you want raw view service and view classes use Magis
composer require pjpawel/magis
Usage
In container, you will find magis alias for ViewDispatcherService;
You should use 'AbstractMagisController':
use pjpawel\Magis\MagisBundle\Controller\AbstractMagisController; use Symfony\Component\HttpFoundation\Response; class FooController extends AbstractMagisController { public function test(): Response { return $this->renderPhpView($templateName, $params); } }
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2022-11-21