PHPackages                             kobaltdigital/laravel-dusk-blade-directive - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kobaltdigital/laravel-dusk-blade-directive

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kobaltdigital/laravel-dusk-blade-directive
==========================================

Adds a blade directive to easily add dusk attributes

1.0.1(2y ago)02[1 PRs](https://github.com/KobaltDigital/laravel-dusk-blade-directive/pulls)MITPHPPHP ^8.1

Since Mar 7Pushed 1y ago2 watchersCompare

[ Source](https://github.com/KobaltDigital/laravel-dusk-blade-directive)[ Packagist](https://packagist.org/packages/kobaltdigital/laravel-dusk-blade-directive)[ Docs](https://github.com/kobaltdigital/laravel-dusk-blade-directive)[ GitHub Sponsors](https://github.com/Kobalt)[ RSS](/packages/kobaltdigital-laravel-dusk-blade-directive/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (4)Used By (0)

Adds a blade directive to easily add dusk attributes
====================================================

[](#adds-a-blade-directive-to-easily-add-dusk-attributes)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c14e22bcaa0682dd326a6e5fcb254289f9f95cb8be8c30226bf1eb25b8e2a86f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6f62616c746469676974616c2f6c61726176656c2d6475736b2d626c6164652d6469726563746976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kobaltdigital/laravel-dusk-blade-directive)[![GitHub Tests Action Status](https://camo.githubusercontent.com/39f2b25f5e9762cc17c9a8887f92d724bdfd1322d204338cdf4d97ba2927f3e6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f62616c746469676974616c2f6c61726176656c2d6475736b2d626c6164652d6469726563746976652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/kobaltdigital/laravel-dusk-blade-directive/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/83758490f3582bd894206bb9206e39fa5454b53d37282ef22c0cb0ce625ac117/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6b6f62616c746469676974616c2f6c61726176656c2d6475736b2d626c6164652d6469726563746976652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/kobaltdigital/laravel-dusk-blade-directive/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/662dddb10069a2aa52c947d82e16ea665a6af405c917f7f19374a6573f95ac03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6f62616c746469676974616c2f6c61726176656c2d6475736b2d626c6164652d6469726563746976652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/kobaltdigital/laravel-dusk-blade-directive)

Easily add dusk atributes with a Blade directive. You can specify on wehich environments the attribute is rendered.

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

[](#installation)

You can install the package via composer:

```
composer require kobaltdigital/laravel-dusk-blade-directive
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-dusk-blade-directive-config"
```

Usage
-----

[](#usage)

```

```

Results in:

```

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Arne van Hoorn](https://github.com/KobaltDigital)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

796d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c12ecfaacbbe443726d82a8788ac54a552c2b7a8f8e89d5f1a6729256a5db5b?d=identicon)[arnevanhoorn](/maintainers/arnevanhoorn)

---

Top Contributors

[![arnevanhoorn](https://avatars.githubusercontent.com/u/3458023?v=4)](https://github.com/arnevanhoorn "arnevanhoorn (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelKobaltlaravel-dusk-blade-directive

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/kobaltdigital-laravel-dusk-blade-directive/health.svg)

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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