New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

radic/blade-extensions

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

Larablocks Analysis

radic/blade-extensions works with Laravel 5 to 8 (latest release 7.4.0, May 16, 2020), all past end of life (the last on Jan 24, 2023): no more fixes, even for security.

Laravel 4 in earlier releases.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 5 to 8, past end of life since Jan 24, 2023
  • No release in the last 12 months (last: May 16, 2020)
  • 508 downloads a month (needs 10,000)
  • 264 GitHub stars (at least 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: May 16, 2020.
  • No releases in the last 12 months.
  • First released: Sep 18, 2014.
  • Monthly downloads: 508, down 15% from six months ago.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 4, 2026.

Install
composer require radic/blade-extensions
Latest Version:7.4.0
PHP:>=5.5.9
Laravel:5 – 8
Older releases:4
License:MIT
Last Updated:May 16, 2020
Links: GitHub  ·  Packagist
Maintainer: radic

Laravel logo Laravel Blade Extensions

Build Status GitHub Version Total Downloads License

A Laravel package providing additional Blade functionality.

Tested on all Laravel 5.x & 6.x & 7.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.

Version 7.3

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.

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.

Copyright/License

Copyright 2015 Robin Radic - MIT Licensed

Related Packages

philo/laravel-blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone...

693,015 355
wapmorgan/morphos-blade

Adds @plural, @name, @numeral, @ordinal and @money tags to Blade for Russian plu...

91,988 33
alexdover/blade-set

A very simple blade extension which allows variables to be set.

58,034 23
railroad/bladesora

A blade template package for musora.

57,117 1
styde/blade-pagination

Laravel's pagination with Blade templating support

14,929 70

Version History

Version Released PHP Laravel License
7.4.0 >=5.5.9 ~5.0|~6.0|~7.0|~8.0 MIT
7.3.0 >=5.5.9 ~5.0|~6.0 MIT
7.2.0 >=5.5.9 ~5.0 MIT
7.1.0 >=5.5.9 ~5.0 MIT
7.0.2 >=5.5.9 ~5.0 MIT
Pre-releases (1)
Version Released PHP Laravel License
7.0.0-beta >=5.5.9 ~5.0 MIT