2017 © Pedro PelĆ”ez
 

library puppy-template

template module for Puppy framework

image

raphhh/puppy-template

template module for Puppy framework

  • Saturday, April 11, 2015
  • by raphhh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 115 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Puppy template module

Latest Stable Version Build Status Scrutinizer Quality Score Code Coverage Total Downloads Reference Status License, (*1)

Template module for Puppy framework., (*2)

See Puppy framework for more information., (*3)

Installation

$ composer require raphhh/puppy-template

Documentation

Service for Twig_Environment. See Twig for more information., (*4)

Note that the services are accessible in twig templates with the global variable "services"., (*5)

Twig has also a filter "link". This filter prepends the config "baseUrl" to a link., (*6)

<a href="{{ my/page|link }}">click here</a>

Config options

  • 'template.directory.main' => path to the directory of the template files.
  • 'template.directory.cache' => path to the directory of the cache of the template files.
  • 'template.debug' => indicates if the debug mode is enable in the template.
  • 'baseUrl' => gives the base url to apply for the twig filter "link".

The Versions

11/04 2015

dev-master

9999999-dev

template module for Puppy framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Raphaƫl Lefebvre

11/04 2015

1.0.0

1.0.0.0

template module for Puppy framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Raphaƫl Lefebvre