Skip to content

marianvlad/blade-extensions

 
 

Repository files navigation

Laravel logo Laravel Blade Extensions

Build Status GitHub Version Code Coverage Total Downloads License

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'))

6.0 Released

Composer
"radic/blade-extensions": "~6.0"
Laravel
Radic\BladeExtensions\BladeExtensionsServiceProvider::class

Copyright/License

Copyright 2015 Robin Radic - MIT Licensed

About

Laravel Blade extensions like $loop->odd/$loop->index in foreach, view blocks and partials, etc

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%