PHPackages                             goszowski/blade-extended - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. goszowski/blade-extended

ActiveLibrary[Templating &amp; Views](/categories/templating)

goszowski/blade-extended
========================

1.0.1(9y ago)091MITPHPPHP &gt;=5.6.0

Since Mar 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/goszowski/blade-extended)[ Packagist](https://packagist.org/packages/goszowski/blade-extended)[ RSS](/packages/goszowski-blade-extended/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

BladeExtended for Laravel 5.\*
------------------------------

[](#bladeextended-for-laravel-5)

Laravel 4 version:

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"

[](#create-multiple-li-elements-but-ignore-item-with-name-_dev)

```

 		{{ $item->name }}

```

##### Using bd-inner-foreach you can create multiple element for each array item

[](#using-bd-inner-foreach-you-can-create-multiple-element-for-each-array-item)

```

 	{{ $i }}
 	{{ $item }}

```

##### Add class to element by condition

[](#add-class-to-element-by-condition)

*Note: Conditional classes will be added to existing ones or create class attribute if it doesnt exist.*

```

 	…

```

Installation
------------

[](#installation)

1. Require this package in your composer.json and run composer update :

    ```
    "goszowski/blade-extended": "1.*"

    ```
2. After composer update, add service providers to the `config/app.php`

    ```
    Goszowski\BladeExtended\BladeExtendedServiceProvider::class,

    ```
3. All done! Now you can use new directives in your blade templates.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3389d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10208931?v=4)[Jarosław Goszowski](/maintainers/goszowski)[@goszowski](https://github.com/goszowski)

---

Top Contributors

[![goszowski](https://avatars.githubusercontent.com/u/10208931?v=4)](https://github.com/goszowski "goszowski (6 commits)")

### Embed Badge

![Health badge](/badges/goszowski-blade-extended/health.svg)

```
[![Health](https://phpackages.com/badges/goszowski-blade-extended/health.svg)](https://phpackages.com/packages/goszowski-blade-extended)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13046.3M2.1k](/packages/illuminate-view)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5452.7k](/packages/hasinhayder-tyro-dashboard)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
