Download the PHP package evheniy/html5-verti-template-bundle without Composer
On this page you can find all versions of the php package evheniy/html5-verti-template-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package html5-verti-template-bundle
HTML5VertiTemplateBundle
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.
All versions of html5-verti-template-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
symfony/symfony Version >=2.4
symfony/assetic-bundle Version ~2.5-dev
evheniy/jquery-bundle Version dev-master
evheniy/html5-cache-bundle Version dev-master
symfony/symfony Version >=2.4
symfony/assetic-bundle Version ~2.5-dev
evheniy/jquery-bundle Version dev-master
evheniy/html5-cache-bundle Version dev-master
The package evheniy/html5-verti-template-bundle contains the following files
Loading the files please wait ....