2017 © Pedro Peláez
 

library silex-katar

Silex service provider for Katar template engine

image

gosukiwi/silex-katar

Silex service provider for Katar template engine

  • Friday, May 23, 2014
  • by gosukiwi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Silex Provider for Katar

Katar is a simplistic template engine for PHP based on Blade., (*1)

For more information on Katar see the official repo., (*2)

Usage

Installation is easy though composer, (*3)

$ composer require gosukiwi/silex-katar

Then register the service, (*4)

$app->register(new SilexKatar\KatarServiceProvider(), array(
  'katar.views_path' => __DIR__ . '/views',
  'katar.debug' => false,
));

// Somewhere in your code...

$app->get('/myRote', function () use ($app) {
  // Some code...
  return $app['katar']->render('myView.katar.html', array( 'data' => 'someVal' ));
});

The Versions

23/05 2014

dev-master

9999999-dev https://github.com/gosukiwi/silex-katar

Silex service provider for Katar template engine

  Sources   Download

The Requires

 

template php silex katar

23/05 2014

0.2.0

0.2.0.0 https://github.com/gosukiwi/silex-katar

Silex service provider for Katar template engine

  Sources   Download

The Requires

 

template php silex katar

23/05 2014

0.1.0

0.1.0.0 https://github.com/gosukiwi/silex-katar

Silex service provider for Katar template engine

  Sources   Download

The Requires

 

template php silex katar