Registry / utility / wpdesk-wp-view

wpdesk-wp-view

JSON →
library2.1.3phppackagistunverified

View rendering for WordPress plugins.

composer require wpdesk/wp-view
INSTALL
IMPORT
SIG · WPDESK-WP-VIEW
W
wpdesk-wp-view
utilityphpv2.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SimplePhpRenderer
use WPDesk\View\Renderer\SimplePhpRenderer;

Render a PHP view template.

use WPDesk\View\Renderer\SimplePhpRenderer; use WPDesk\View\Resolver\DirResolver; $renderer = new SimplePhpRenderer(new DirResolver('/path/to/views')); echo $renderer->render('template', ['data' => 'value']);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
wpdesk-wp-view — pip install wpdesk-wp-view · libregistry