dev-master
9999999-devSupport widgets for Slim Framework + Plates
MIT
The Requires
- php >=5.3.0
- slim/slim 2.*
- league/plates 2.*
by Dmitry Momot
framework template slim widgets views slim framework plates
Wallogit.com
2017 © Pedro Peláez
Support widgets for Slim Framework + Plates
Support widgets for Slim Framework + Plates (Plates is a native PHP template system), (*1)
Widgets is available via Composer:, (*2)
{
"require": {
"slim-extensions/widgets": "dev-master"
}
}
namespace App\Widget;
class Test extends \Slim\Widgets\Widget implements \App\Plates\Extension\WidgetInterface {
public function response()
{
$this->templatePath = APPPATH.'views';
$response = __CLASS__.'::'.__FUNCTION__;
return $this->render('widgets/test', array('content' => $response));
}
}
The MIT License (MIT). Please see License File for more information., (*3)
Support widgets for Slim Framework + Plates
MIT
framework template slim widgets views slim framework plates