PHPackages                             cleaniquecoders/blade-plus-plus - 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. cleaniquecoders/blade-plus-plus

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

cleaniquecoders/blade-plus-plus
===============================

Extended Laravel Blade Directives

v2.1.2(6y ago)38791[2 PRs](https://github.com/cleaniquecoders/blade-plus-plus/pulls)1MITPHPPHP &gt;=7.2

Since Mar 9Pushed 5y agoCompare

[ Source](https://github.com/cleaniquecoders/blade-plus-plus)[ Packagist](https://packagist.org/packages/cleaniquecoders/blade-plus-plus)[ RSS](/packages/cleaniquecoders-blade-plus-plus/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (6)Dependencies (6)Versions (9)Used By (1)

[![Build Status](https://camo.githubusercontent.com/186d0d862ec66ca1f3fb64b7b788559fe00615b8274cc5c183041ee7225976cf/68747470733a2f2f7472617669732d63692e6f72672f636c65616e69717565636f646572732f626c6164652d706c75732d706c75732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/cleaniquecoders/blade-plus-plus) [![Latest Stable Version](https://camo.githubusercontent.com/5d44dbe0f4183c3678b23064169a93084aaa7c7cb360ffb412a6fc86f0f43a2e/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f626c6164652d706c75732d706c75732f762f737461626c65)](https://packagist.org/packages/cleaniquecoders/blade-plus-plus) [![Total Downloads](https://camo.githubusercontent.com/aacd091209b12fe5b8520d85b2e88fdb8c97941c06ef1c327aa21a632cbe498d/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f626c6164652d706c75732d706c75732f646f776e6c6f616473)](https://packagist.org/packages/cleaniquecoders/blade-plus-plus) [![License](https://camo.githubusercontent.com/903b3c87db0a286c040b7746273569888c70be656a2c63697db458563d557a10/68747470733a2f2f706f7365722e707567782e6f72672f636c65616e69717565636f646572732f626c6164652d706c75732d706c75732f6c6963656e7365)](https://packagist.org/packages/cleaniquecoders/blade-plus-plus)

Laravel Blade Directives
------------------------

[](#laravel-blade-directives)

Extended Laravel Blade Directives

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

[](#installation)

```
$ composer require cleaniquecoders/blade-plus-plus
$ php artisan vendor:publish --provider="CleaniqueCoders\BladePlusPlus\BladePlusPlusServiceProvider"

```

> Starting version **2.1.0**, when publishing the resources, it will publish to `resources/views/vendor/blade-plus-plus` instead of `resources/views/vendor/laravel-blade-directives`. Do consider to update your codes.

Usage
-----

[](#usage)

Available directives based on category:

### Actions

[](#actions)

```
@baseAction([
	'label' => 'Google',
	'href' => 'https://google.com',
	'icon' => 'fa-google'
])

@createAction([
	'label' => 'New User',
	'href' => route('users.create'),
])

@editAction([
	'label' => 'Edit User',
	'href' => route('users.edit', 1),
])

@showAction([
	'label' => 'Show User',
	'href' => route('users.show', 1),
])

@destroyAction([
	'label' => 'Delete User',
	'href' => route('users.destroy', 1),
	'id' => 'destroy-user-1'
])

```

### Card

[](#card)

```
@card
	@slot('card_title')

	@endslot

	@slot('card_body')

	@endslot

	@slot('card_footer')

	@endslot
@endcard

```

### Form

[](#form)

```
@input([
	'id' => 'name',
	'name' => 'name',
])

@input([
	'id' => 'email',
	'name' => 'email',
	'type' => 'email'
])

@input([
	'id' => 'password',
	'name' => 'password',
	'type' => 'password'
])

@input([
	'id' => 'password_confirmation',
	'name' => 'password_confirmation',
	'type' => 'password'
])

```

### Layout

[](#layout)

```
@container
	@row
		@col('col-6')

		@endcol

		@col('col-6')

		@endcol
	@endrow
@endcontainer

```

### Modal

[](#modal)

```
@modal
	@slot('modal_body')

	@endslot

	@slot('modal_footer')

	@endslot
@endmodal

```

### Table

[](#table)

```
@table
	@slot('thead')

	@endslot

	@slot('tbody')

	@endslot

	@slot('tfooter')

	@endslot
@endtable

```

### Misc.

[](#misc)

```
@appName

@icon('fa fa-search')

```

Test
----

[](#test)

Run the following command:

```
$ vendor/bin/phpunit  --testdox --verbose

```

Contributing
------------

[](#contributing)

Thank you for considering contributing to the `LaravelBladeDirectives`!

### Bug Reports

[](#bug-reports)

To encourage active collaboration, it is strongly encourages pull requests, not just bug reports. "Bug reports" may also be sent in the form of a pull request containing a failing test.

However, if you file a bug report, your issue should contain a title and a clear description of the issue. You should also include as much relevant information as possible and a code sample that demonstrates the issue. The goal of a bug report is to make it easy for yourself - and others - to replicate the bug and develop a fix.

Remember, bug reports are created in the hope that others with the same problem will be able to collaborate with you on solving it. Do not expect that the bug report will automatically see any activity or that others will jump to fix it. Creating a bug report serves to help yourself and others start on the path of fixing the problem.

Coding Style
------------

[](#coding-style)

`LaravelBladeDirectives` follows the PSR-2 coding standard and the PSR-4 autoloading standard.

You may use PHP CS Fixer in order to keep things standardised. PHP CS Fixer configuration can be found in `.php_cs`.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% 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 ~76 days

Recently: every ~50 days

Total

6

Last Release

2336d ago

Major Versions

v1.1.0 → v2.0.02020-03-05

### Community

Maintainers

![](https://www.gravatar.com/avatar/b57069d0f4b634f65eccc6e5d5848990e25968d45ec2cf46d626c6a4658f944b?d=identicon)[nasrulhazim.m](/maintainers/nasrulhazim.m)

---

Top Contributors

[![nasrulhazim](https://avatars.githubusercontent.com/u/10341422?v=4)](https://github.com/nasrulhazim "nasrulhazim (28 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![nazrulwazir](https://avatars.githubusercontent.com/u/19516809?v=4)](https://github.com/nazrulwazir "nazrulwazir (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cleaniquecoders-blade-plus-plus/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.7M3.4k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k268.2k88](/packages/moonshine-moonshine)[illuminate/view

The Illuminate View package.

13047.7M2.4k](/packages/illuminate-view)[laravel/ai

The official AI SDK for Laravel.

1.1k4.6M306](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.4M354](/packages/psalm-plugin-laravel)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k68](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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