aea / blade-service-provider
Use blade template engine with silex
This package's canonical repository appears to be gone and the package has been frozen as a result.
2.0.0
2016-10-08 13:00 UTC
Requires
- philo/laravel-blade: 3.*
- silex/silex: ^2
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')