PHPackages                             stekel/laravel-blade-directives - 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. stekel/laravel-blade-directives

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

stekel/laravel-blade-directives
===============================

A personal collection of Laravel blade directives.

v0.0.5(3y ago)028MITPHPPHP &gt;7.0

Since Jun 22Pushed 3y agoCompare

[ Source](https://github.com/stekel/laravel-blade-directives)[ Packagist](https://packagist.org/packages/stekel/laravel-blade-directives)[ Docs](https://github.com/stekel/laravel-blade-directives)[ RSS](/packages/stekel-laravel-blade-directives/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (6)Used By (0)

Laravel Blade Directives
========================

[](#laravel-blade-directives)

A personal collection of Laravel blade directives.

Install
-------

[](#install)

Via Composer

```
$ composer require stekel/laravel-blade-directives
```

Directives
----------

[](#directives)

FunctionDescription`@inputValue($model, $attribute)`Displays form input value, either from the given `$model->$attribute` or from the value of `old($attribute)``@optionValue($model, $attribute, $default)`Sets the select option to "selected", either from the given `$model->$attribute` or from the value of `old($attribute)``@checkboxValue($model, $attribute)`Sets the checkbox to "checked", either from the given `$model->$attribute` or from the value of `old($attribute)``@checkboxValueFromArray($model, $attribute, $array)`Sets the checkbox to "checked", if `$array` contains either `$model->id` or `old($attribute)`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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 ~429 days

Total

5

Last Release

1165d ago

PHP version history (2 changes)v0.0.1PHP ~7.0

v0.0.5PHP &gt;7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13273514?v=4)[Stephen Keller](/maintainers/stekel)[@stekel](https://github.com/stekel)

---

Top Contributors

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

---

Tags

blade-directiveslaravellaravelbladedirectives

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stekel-laravel-blade-directives/health.svg)

```
[![Health](https://phpackages.com/badges/stekel-laravel-blade-directives/health.svg)](https://phpackages.com/packages/stekel-laravel-blade-directives)
```

###  Alternatives

[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[stijnvanouplines/blade-country-flags

A package to easily make use of country flags in your Laravel Blade views.

26307.2k6](/packages/stijnvanouplines-blade-country-flags)[technikermathe/blade-lucide-icons

A package to easily make use of Lucide icons in your Laravel Blade views.

18299.2k7](/packages/technikermathe-blade-lucide-icons)[saade/blade-iconsax

A package to easily make use of Iconsax in your Laravel Blade views.

21138.5k](/packages/saade-blade-iconsax)[mckenziearts/blade-untitledui-icons

A package to easily make use of UntitledUI icons in your Laravel Blade views.

16104.9k5](/packages/mckenziearts-blade-untitledui-icons)

PHPackages © 2026

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