Package Data | |
---|---|
Maintainer Username: | radic |
Maintainer Contact: | robin@radic.nl (Robin Radic) |
Package Create Date: | 2014-07-08 |
Package Last Update: | 2020-05-16 |
Home Page: | http://robin.radic.nl/blade-extensions |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-14 15:06:47 |
Package Statistics | |
---|---|
Total Downloads: | 313,817 |
Monthly Downloads: | 479 |
Daily Downloads: | 14 |
Total Stars: | 267 |
Total Watchers: | 17 |
Total Forks: | 35 |
Total Open Issues: | 1 |
A Laravel package providing additional Blade functionality.
Tested on all Laravel 5.x versions.
The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code.
BladeExtensions::compileString($string, array $vars = [])
BladeExtensions::pushToStack($stack, $views, $content)
All directives can be disabled, extended or replaced.
$loop
)embed
)"radic/blade-extensions": "~7.1"
Radic\BladeExtensions\BladeExtensionsServiceProvider::class
The first version of this package was created for Laravel 4.2. In the later releases Laravel introduced quite a few similar directives/functionality like the foreach loop variable, Components & Slots, etc. This package automaticly disables some directives depending on your Laravel version. The configuration file allows you to fully configure this behaviour. Make sure to check it out.
Copyright 2015 Robin Radic - MIT Licensed