aea/blade-service-provider

Use blade template engine with silex

2.0.0 2016-10-08 13:00 UTC

This package is not auto-updated.

Last update: 2021-03-12 01:36:52 UTC


README

The BladeServiceProvider provides integration with the Blade template engine.

Installation (silex 2)

composer require aea/blade-service-provider

Usage

$app->register(new \Aea\ServiceProvider\BladeServiceProvider(), [
    'blade.view_path' => __DIR__ . '/views',
    'blade.cache_path' => __DIR__ . '/cache'
]);
$app['blade']->view('main.index')