2017 © Pedro Peláez
 

library glue-plates

Use leage/plates templating engine in Glue

image

gluephp/glue-plates

Use leage/plates templating engine in Glue

  • Friday, December 30, 2016
  • by gluephp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 80 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Plates for Glue

Use leauge/plates with gluephp/glue, (*1)

Installation

Use Composer:, (*2)

$ composer require gluephp/glue-plates

Configure Plates

$app = new Glue\App;

$app->config->override([
    'plates' => [
        'path'    => '/absolute/path/to/templates/folder',
    ],
]);

Register Plates

$app->register(
    new Glue\Plates\ServiceProvider()
);

Get the Plates instance

Once the service provider is registered, you can fetch the Plates instance with:, (*3)

$plates = $app->make('League\Plates\Engine');

or use the alias:, (*4)

$plates = $app->plates;

The Versions

30/12 2016

dev-master

9999999-dev

Use leage/plates templating engine in Glue

  Sources   Download

MIT

The Requires

 

by Magnus Eriksson

30/12 2016

dev-develop

dev-develop

Use leage/plates templating engine in Glue

  Sources   Download

MIT

The Requires

 

by Magnus Eriksson

30/12 2016

0.1.2

0.1.2.0

Use leage/plates templating engine in Glue

  Sources   Download

MIT

The Requires

 

by Magnus Eriksson

08/09 2016

0.1.1

0.1.1.0

Use leage/plates templating engine in Glue

  Sources   Download

MIT

The Requires

 

by Magnus Eriksson

06/05 2016

0.1.0

0.1.0.0

Use leage/plates templating engine in Glue

  Sources   Download

MIT

The Requires

 

by Magnus Eriksson