cupcake-framework / cupcake2-cuprenderer-silex-provider
Template Engine used in PHP CupCake 2 Framework's provider for silex
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/cupcake-framework/cupcake2-cuprenderer-silex-provider
Requires
This package is auto-updated.
Last update: 2025-10-06 11:05:33 UTC
README
This is the CupRenderer provider for use with Silex
Example Usage:
use Silex\Application; use Silex\Provider\CupRendererProvider; $app = new Application(); $app->register(new CupRendererProvider(), array( 'cuprenderer.templatesFolder' => array( __DIR__ . '/src/templates/' ), 'cuprenderer.viewsFolder' => array( __DIR__ . '/src/views/' ), )); $app['cuprenderer']->render('myViewFile.php');