2017 © Pedro Peláez
 

library simple-lightncandy

No-nonsense templating with lightncandy

image

werdnum/simple-lightncandy

No-nonsense templating with lightncandy

  • Wednesday, April 29, 2015
  • by werdnum
  • Repository
  • 1 Watchers
  • 0 Stars
  • 264 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

simple-lightncandy

This is a simple, no-nonsense class that allows you to get started using LightnCandy for your templating needs., (*1)

Example use:, (*2)

$templating = new SimpleLightNCandy( __DIR__ . "/templates" );
$templating->addHelper( 'foo', function() { return "foo"; } )
$templating->addBlockHelper( 'fooBlock', function() { return "fooblock"; } );

print $templating->renderTemplate( 'foo_template' );

If you want to do anything fancy (for example, change the compile options), then you can subclass it., (*3)

It's designed to be installed using Composer:, (*4)

composer require werdnum/simple-lightncandy:~0.1, (*5)

The Versions

29/04 2015

dev-master

9999999-dev

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

29/04 2015

0.5.0

0.5.0.0

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

13/04 2015

0.4.1

0.4.1.0

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

06/04 2015

0.4.0

0.4.0.0

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

23/03 2015

0.3.2

0.3.2.0

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

17/03 2015

0.3

0.3.0.0

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

26/02 2015

0.2

0.2.0.0

No-nonsense templating with lightncandy

  Sources   Download

The Requires

 

21/01 2015

0.1.x-dev

0.1.9999999.9999999-dev

No-nonsense templating with lightncandy

  Sources   Download

The Requires