library glue-plates
Use leage/plates templating engine in Glue
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
Plates for Glue
Use leauge/plates with gluephp/glue, (*1)
Installation
Use Composer:, (*2)
$ composer require gluephp/glue-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;
dev-master
9999999-dev
Use leage/plates templating engine in Glue
Sources
Download
MIT
The Requires
by
Magnus Eriksson
dev-develop
dev-develop
Use leage/plates templating engine in Glue
Sources
Download
MIT
The Requires
by
Magnus Eriksson
0.1.2
0.1.2.0
Use leage/plates templating engine in Glue
Sources
Download
MIT
The Requires
by
Magnus Eriksson
0.1.1
0.1.1.0
Use leage/plates templating engine in Glue
Sources
Download
MIT
The Requires
by
Magnus Eriksson
0.1.0
0.1.0.0
Use leage/plates templating engine in Glue
Sources
Download
MIT
The Requires
by
Magnus Eriksson