PHPackages                             dcblogdev/laravel-blade-components - 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. dcblogdev/laravel-blade-components

ActiveLibrary

dcblogdev/laravel-blade-components
==================================

Laravel Blade components collection

v1.0.4(1y ago)36604MITBlade

Since Jul 11Pushed 1y ago3 watchersCompare

[ Source](https://github.com/dcblogdev/laravel-blade-components)[ Packagist](https://packagist.org/packages/dcblogdev/laravel-blade-components)[ Docs](https://github.com/dcblogdev/laravel-blade-components)[ GitHub Sponsors](https://github.com/dcblogdev)[ RSS](/packages/dcblogdev-laravel-blade-components/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

Community
---------

[](#community)

There is a Discord community.  For quick help, ask questions in the appropriate channel.

Laravel Blade components collection
===================================

[](#laravel-blade-components-collection)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3266c22ff1ff4e73b5cbfdd64b068be0ff14f3cc81c6a88901abd17d2f8ec2d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6463626c6f676465762f6c61726176656c2d626c6164652d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dcblogdev/laravel-blade-components)[![Total Downloads](https://camo.githubusercontent.com/056f1ef197a688c2075afd370e7677a655a19537c11f5c812d42c6d0540895d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6463626c6f676465762f6c61726176656c2d626c6164652d636f6d706f6e656e74732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dcblogdev/laravel-blade-components)

Re-usable Laravel Blade components for your projects

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

[](#installation)

You can install the package via composer:

```
composer require dcblogdev/laravel-blade-components
```

Usage
-----

[](#usage)

Form components
---------------

[](#form-components)

- [Open](#open)
- [Input](#form-input)
- [Textarea](#form-textarea)
- [Checkbox](#form-checkbox)
- [Radio](#form-radio)
- [Select](#form-select)
- [Button](#form-button)

All form components accept option parameters that such as class='' style=''

> When the method is set to PUT, PATCH or DELETE the @method() will be applied automatically.

### Open

[](#open)

Defaults to post method and CSRF token

```

```

The method and actions can be passed:

```

```

### Form input

[](#form-input)

Create an input with a name, the name will be used as the label as long as the label is not provided.

```

```

Outputs:

```

    Username

```

Use a label

```

```

Use an id and a class

```

```

The type is set to test by default, it can be changed

```

```

Set the input value

```
{{ $username }}
```

### Form textarea

[](#form-textarea)

```

```

Set the rows and columns

```

```

Set the textarea data

```
{{ $comments }}
```

### Form checkbox

[](#form-checkbox)

A checkbox can also be defined, set the name and value

```

```

Check the checkbox by passing its value, as long its a match the checkbox will be checked.

```
1
```

or

```
{{ $terms }}
```

### Form radio

[](#form-radio)

A radio can also be defined, set the name, label and value

```

```

Pass a value which will check the matching radio.

```
{{ $result }}
{{ $result }}
{{ $result }}
```

Check the checkbox by passing its value, as long its a match the checkbox will be checked.

```
1
```

or

```
{{ $terms }}
```

### Form select

[](#form-select)

create a select menu set the name and placeholder for the initial option

```

```

Leave off the placeholder to have only the select and options that can be selected

```

```

In order to set the option an array is needed and is looped over and then a nested component is used.

Pass in the key and value from the array

```
@php
$options = [1 => 'one', 2 => 'two', 3 => 'three'];
@endphp

    @foreach($options as $key => $value)

    @endforeach

```

### Form button

[](#form-button)

Create a button, defaults to a submit type

```
Submit
```

Create a button, using only the defaults and a label

```
Submit
```

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [David Carr](https://github.com/dcblogdev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance44

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community11

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

Total

5

Last Release

438d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39399156?v=4)[dcblog](/maintainers/dcblog)[@dcblog](https://github.com/dcblog)

---

Top Contributors

[![dcblogdev](https://avatars.githubusercontent.com/u/1018170?v=4)](https://github.com/dcblogdev "dcblogdev (30 commits)")

---

Tags

dcblogdevblade-components-forms

### Embed Badge

![Health badge](/badges/dcblogdev-laravel-blade-components/health.svg)

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

###  Alternatives

[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)[pestphp/pest-plugin-drift

The Pest Drift Plugin

734.0M74](/packages/pestphp-pest-plugin-drift)[orchestra/testbench-dusk

Laravel Dusk Testing Helper for Packages Development

105936.1k158](/packages/orchestra-testbench-dusk)[dcblogdev/laravel-sent-emails

Store outgoing emails in Laravel

25472.6k](/packages/dcblogdev-laravel-sent-emails)[rockero-cz/laravel-starter-kit

Speed up the kickoff of your Laravel projects.

327.5k](/packages/rockero-cz-laravel-starter-kit)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)

PHPackages © 2026

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