Download the PHP package ichihara-yamato/blade without Composer
On this page you can find all versions of the php package ichihara-yamato/blade. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ichihara-yamato/blade
More information about ichihara-yamato/blade
Files in ichihara-yamato/blade
Package blade
Short Description A standalone version of Laravel's Blade templating engine for use outside of Laravel.
License MIT
Informations about the package blade
Blade
The standalone version of Laravel's Blade templating engine for use outside of Laravel.
Installation
Install using composer:
Usage
Create a Blade instance by passing it the folder(s) where your view files are located, and a cache folder. Render a template by calling the make method. More information about the Blade templating engine can be found on http://laravel.com/docs/5.8/blade.
Alternatively you can use the shorthand method render:
You can also extend Blade using the directive() function:
Which allows you to use the following in your blade template:
The Blade instances passes all methods to the internal view factory. So methods such as exists, file, share, composer and creator are available as well. Check out the original documentation for more information.
Integrations
- Phalcon Slayer Framework comes out of the box with Blade.
All versions of blade with dependencies
illuminate/view Version ^11.0
illuminate/filesystem Version ^11.0
illuminate/events Version ^11.0
illuminate/container Version ^11.0