evheniy/html5-verti-template-bundle
Composer 安装命令:
composer require evheniy/html5-verti-template-bundle
包简介
The HTML5VertiTemplateBundle adds the ability to add free responsive site template by HTML5 to your application.
README 文档
README
This bundle provides HTML5 Verti Template for Symfony2
Installation
$ composer require evheniy/html5-verti-template-bundle "1.*"
Or add to composer.json
"evheniy/evheniy/html5-verti-template-bundle": "1.*"
AppKernel:
public function registerBundles()
{
$bundles = array(
...
new Evheniy\HTML5VertiTemplateBundle\HTML5VertiTemplateBundle(),
);
...
config.yml:
#HTML5VertiTemplateBundle
html5_verti_template: ~
or
#HTML5VertiTemplateBundle
html5_verti_template:
cdn: cdn.site.com
And Assetic Configuration in config.yml:
#Assetic Configuration
assetic:
bundles: [ HTML5VertiTemplateBundle, JqueryBundle ]
filters:
uglifyjs2:
bin: /usr/local/bin/uglifyjs
uglifycss:
bin: /usr/local/bin/uglifycss
optipng:
bin: /usr/bin/optipng
jpegoptim:
bin: /usr/bin/jpegoptim
This bundle uses JqueryBundle and HTML5CacheBundle. So you need to configure those bundles
AppKernel:
public function registerBundles()
{
$bundles = array(
...
new Evheniy\JqueryBundle\JqueryBundle(),
new Evheniy\HTML5CacheBundle\HTML5CacheBundle(),
);
...
config.yml:
jquery: ~
html5_cache: ~
The last step
app/console assetic:dump --env=prod --no-debug
And for cache
app/console manifest:dump
Documentation
You can use local CDN (domain):
html5_verti_template:
cdn: cdn.site.com
Default value is empty
Using
This bundle provides 4 kinds of view:
-
{% extends "HTML5VertiTemplateBundle::index.html.twig" %} -
with left sidebar:
{% extends "HTML5VertiTemplateBundle::left_sidebar.html.twig" %} -
with right sidebar:
{% extends "HTML5VertiTemplateBundle::right_sidebar.html.twig" %} -
{% extends "HTML5VertiTemplateBundle::no_sidebar.html.twig" %}
You can see how it looks like on demo
License
This bundle is under the MIT license.
evheniy/html5-verti-template-bundle 适用场景与选型建议
evheniy/html5-verti-template-bundle 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 654 次下载、GitHub Stars 达 1, 最近一次更新时间为 2015 年 05 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「symfony」 「template」 「HTML5」 「responsive」 「Verty」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 evheniy/html5-verti-template-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 evheniy/html5-verti-template-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 evheniy/html5-verti-template-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
HTML5 support for SilverStripe
HTML5 Boilerplate is a professional front-end template for building fast, robust, and adaptable web apps or sites.
The bundle for easy using json-rpc api on your project
The yii2-videojs-widget is a Yii 2 wrapper for the [video.js](http://www.videojs.com/). A JavaScript and CSS library that makes it easier to work with and build on HTML5 video. This is also known as an HTML5 Video Player.
Bundle Symfony DaplosBundle
Simple ASCII output of array data
统计信息
- 总下载量: 654
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-03