clean / view
Installs: 65 546
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-12-06 08:48:32 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;