2017 © Pedro Peláez
 

library blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

image

radic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  • Thursday, November 2, 2017
  • by radic
  • Repository
  • 17 Watchers
  • 259 Stars
  • 154,114 Installations
  • PHP
  • 10 Dependents
  • 0 Suggesters
  • 33 Forks
  • 9 Open issues
  • 38 Versions
  • 5 % Grown

The README.md

Laravel logo Laravel Blade Extensions

Build Status GitHub Version Total Downloads License, (*1)

A Laravel package providing additional Blade functionality., (*2)

Tested on all Laravel 5.x & 6.x & 7.x versions., (*3)

The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code., (*4)

Version 7.3

- Documentation - Changelog - Code of Conduct
- Contributing
- Pull Request Template
- Issue Template, (*5)

Features

  • Compatible with all Laravel 5 & 6 versions
  • 20+ Configurable, nameable, extendable, replaceable, testable directives.
  • Compile Blade strings with variables BladeExtensions::compileString($string, array $vars = [])
  • Progamatically push content to a stack inside blade view(s) BladeExtensions::pushToStack($stack, $views, $content)
  • Even if you don't use any of the directives, Blade Extensions provides you with a great method to manage your directives.

Directives

All directives can be disabled, extended or replaced. - @set / @unset Setting and unsetting of values - @breakpoint / @dump Dump values to screen and set breakpoints in views - @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) - @minify / @endminify Minify inline code. Supports CSS, JS and HTML. - @macro / @endmacro/ @macrodef Defining and running macros - @markdown/ @endmarkdown - @spaceless / @endspaceless - and more..., (*6)

Installation

1. Composer

"radic/blade-extensions": "~7.1"

2. Laravel

Radic\BladeExtensions\BladeExtensionsServiceProvider::class

3.Configuration

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., (*7)

Copyright 2015 Robin Radic - MIT Licensed, (*8)

The Versions

02/09 2017

dev-master

9999999-dev https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

28/04 2017

dev-test

dev-test https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

20/03 2017

7.0.2

7.0.2.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

20/03 2017

dev-feature/if-section

dev-feature/if-section https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

20/03 2017

dev-feature/travis-automerge

dev-feature/travis-automerge https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

19/03 2017

7.0.1

7.0.1.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

16/03 2017

7.0.0

7.0.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

08/03 2017

7.0.0-beta

7.0.0.0-beta https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

23/01 2017

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

19/04 2016

6.2.3

6.2.3.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

24/01 2016

6.2.1

6.2.1.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

24/01 2016

6.2.2

6.2.2.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

24/01 2016

6.2.0

6.2.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

28/12 2015

6.1.0

6.1.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

28/12 2015

6.0.6

6.0.6.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

08/12 2015

6.0.5

6.0.5.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

02/12 2015

6.0.4

6.0.4.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

21/11 2015

6.0.3

6.0.3.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

25/09 2015

6.0.2

6.0.2.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

23/09 2015

6.0.1

6.0.1.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

15/09 2015

6.0.0

6.0.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

18/08 2015

5.0.0

5.0.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

18/08 2015

4.1.x-dev

4.1.9999999.9999999-dev https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

02/08 2015

4.1.1

4.1.1.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

02/08 2015

4.1.0

4.1.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

19/07 2015

4.0.2

4.0.2.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

20/06 2015

4.0.1

4.0.1.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

20/06 2015

4.0.0

4.0.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

08/06 2015

3.0.x-dev

3.0.9999999.9999999-dev https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

08/06 2015

3.0.2

3.0.2.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

08/06 2015

3.0.1

3.0.1.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

05/05 2015

1.2.x-dev

1.2.9999999.9999999-dev https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

05/05 2015

3.0.0

3.0.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

14/03 2015

2.2.x-dev

2.2.9999999.9999999-dev https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade

18/09 2014

1.1.0

1.1.0.0 https://github.com/RobinRadic/blade-extensions

Laravel package providing additional Blade extensions: foreach (with $loop data like twig), break, continue, set,array (multiline), etc

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel extensions loop blade