Download the PHP package sleeping-owl/blade-extended without Composer
On this page you can find all versions of the php package sleeping-owl/blade-extended. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sleeping-owl/blade-extended
More information about sleeping-owl/blade-extended
Files in sleeping-owl/blade-extended
Package blade-extended
Short Description Extension to add control directives attributes to your Blade templates (bd-foreach, bd-inner-foreach, bd-if, bd-attr, bd-class and other).
License MIT
Homepage http://sleeping-owl-blade-extended.gopagoda.com
Informations about the package blade-extended
SleepingOwl BladeExtended
SleepingOwl BladeExtended is a simple library, adding bd-foreach
, bd-inner-foreach
, bd-if
and bd-class
attribute directives support to your blade templates.
Create multiple li
elements, but ignore item with name "_dev"
Using bd-inner-foreach you can create multiple element for each array item
Add class to element by condition
Note: Conditional classes will be added to existing ones or create class attribute if it doesnt exist.
Installation
-
Require this package in your composer.json and run composer update (or run
composer require sleeping-owl/blade-extended:1.x
directly):"sleeping-owl/blade-extended": "1.*"
-
After composer update, add service providers to the
app/config/app.php
'SleepingOwl\BladeExtended\BladeExtendedServiceProvider',
- All done! Now you can use new directives in your blade templates.
Documentation
Documentation can be found at blade-extended documentation.
Copyright and License
Admin was written by Sleeping Owl for the Laravel framework and is released under the MIT License. See the LICENSE file for details.