Registry / utility / duncan3dc-blade

duncan3dc-blade

JSON →
library4.16.0phppackagistunverified

Use Laravel Blade templates without the full Laravel framework

composer require duncan3dc/blade
INSTALL
IMPORT
SIG · DUNCAN3DC-BLADE
D
duncan3dc-blade
utilityphpv4.16.0
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.

Blade
use duncan3dc\Blade\Blade;

Render a Blade template with data

use duncan3dc\Blade\Blade; $blade = new Blade('/path/to/views', '/path/to/cache'); echo $blade->render('template', ['name' => 'World']);
Debug
Known issues
breakingRequires PHP 7.4+ and the ext-mbstring extension.
fix
Install the mbstring PHP extension if not already available.
affects: >=4.0.0
Upgrade
Version history
4.16.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
duncan3dc-blade — pip install duncan3dc-blade · libregistry