kgilden/static-bundle
最新稳定版本:v1.1.0
Composer 安装命令:
composer require kgilden/static-bundle
包简介
Render content from files in Twig templates
README 文档
README
This bundle allows you to load static content from files using Symfony's shorthand "@" syntax.
Usage
{# in '/some/path/to/template.html.twig' #} {{ file('@AcmeDemoBundle/Resources/files/hello.txt') }}
Installation
Add KGPagerBundle in your composer.json:
{
"require": {
"kgilden/static-bundle": "~1.0"
}
}
Tests
Simply run phpunit in the root directory for the full test suite.
Licence
This bundle is under the MIT license. See the complete license in the bundle:
Resources/meta/LICENCE
统计信息
- 总下载量: 11.17k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-15