Download the PHP package frood/twig without Composer
On this page you can find all versions of the php package frood/twig. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package twig
Short Description Twig extension for The Frood VC framework.
License Apache-2.0
Homepage https://github.com/akimsko/froodTwig
Informations about the package twig
froodTwig Frood extension
Authors Bo Thinggaard Since 2011-12-19
FroodTwig is a Twig template engine extension for The Frood VC framework.
Documentation
- Template files should end with
.html.twig
. extends
use references of the form[subModule]/[controller]/[action].html.twig
, i.e.public/index/index.html.twig
.- To extend the original template prefix the reference with
original:
, i.e.original:public/index/index.html.twig
. - To extend a template refererenced from the root of the theme folder, use the prefix
theme:
. - To enable support for the prefixes and template overloading you will need to set the theme path by calling
FroodRendererTwig::setThemePath()
. Zaphod will do this for you.
Installing
- Get composer at https://getcomposer.org/download/
- Run
composer.phar install
- Prosper.
License
Copyright 2011 Bo Thinggaard
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.