clean / view
Installs: 61 639
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires (Dev)
- phpunit/phpunit: 4.2.*
- scrutinizer/ocular: dev-master
This package is auto-updated.
Last update: 2024-11-06 08:43:42 UTC
README
Provides an implementation of the TemplateView and TwoStepView patterns, with support for helpers.
Installation
via Composer
require: { "clean/view": "dev-master" }
Usage
$view = new View('template.phtml', ['placeholder' => 'value', ...]); $view->setParent(new View('layout.phtml', [...])); echo $view;