Laravel | ~4.2 | 5.0 | 5.1 |
---|---|---|---|
Blade extensions | v2.2 | v3.0 | v6.0 |
Laravel package providing additional Blade functionality. Thoroughly documented and 100% code coverage.
- @set @unset Setting and unsetting of values
- @foreach @break @continue Loop data and extras (similair to twig
$loop
) - @embed Think of embed as combining the behaviour of include and extends. (similair to twig
embed
) - @debug @breakpoint Dump values and set breakpoints in views
- @macro Defining and running macros
- @markdown (optional) Render github flavoured markdown with your preffered renderer by using the directives or view engine/compilers. (optional, requires erusev/parsedown or kzykhys/ciconia)
- @minify (optional) Minify inline code. Supports CSS, JS and HTML.
- BladeString Render blade strings using the facade
BladeString::render('my val: {{ $val }}', array('val' => 'foo'))
- Rewritten and fully updated documentation.
- Major improvements - Added and updated tests.
- Upgrade guide & Changelog
- Go to documentation website.
- Go to git markdown docs.
- Test coverage.
"radic/blade-extensions": "~6.0"
Radic\BladeExtensions\BladeExtensionsServiceProvider::class
Copyright 2015 Robin Radic - MIT Licensed