PHPackages                             smirltech/laravel-form - 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. smirltech/laravel-form

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

smirltech/laravel-form
======================

A bunch of form input components

v4.0.0(1y ago)63.0k11MITBladePHP ^8.1

Since Jan 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/smirltech/laravel-form)[ Packagist](https://packagist.org/packages/smirltech/laravel-form)[ Docs](https://github.com/smirltech/laravel-form)[ RSS](/packages/smirltech-laravel-form/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (2)Dependencies (7)Versions (34)Used By (1)

[![Laravel Form](https://camo.githubusercontent.com/8628ea019141b8372d3c31d29304aa8e1e86b0bce7ddd78adcd8f98462c71311/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c253230466f726d2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d736d69726c746563682532466c61726176656c2d666f726d267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d412b62756e63682b6f662b666f726d2b636f6d706f6e656e74732b72656164792b746f2b757365266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d636c6970626f6172642d6c697374)](https://camo.githubusercontent.com/8628ea019141b8372d3c31d29304aa8e1e86b0bce7ddd78adcd8f98462c71311/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c253230466f726d2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d736d69726c746563682532466c61726176656c2d666f726d267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d412b62756e63682b6f662b666f726d2b636f6d706f6e656e74732b72656164792b746f2b757365266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d636c6970626f6172642d6c697374)

Laravel Form components
=======================

[](#laravel-form-components)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b34dd8fdd8742d2dab6e613f8ee0025eff2859fb308d9b2fab6f51e5295cb631/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736d69726c746563682f6c61726176656c2d666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smirltech/laravel-form)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0533fea5bcdf03538549ef1a39b20fbcefcaeccc0174017e83dfd4e32465096d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736d69726c746563682f6c61726176656c2d666f726d2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/smirltech/laravel-form/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/3519bfcae474a713b02a7d6e78f5a216eddcb4c33edb9c0b0762c007dcd343ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736d69726c746563682f6c61726176656c2d666f726d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/smirltech/laravel-form)

This is a package that provides a bunch of form components ready to use in your Laravel application and provides the best hanlding for frome validation errors.

Originally created for [Livewire](https://laravel-livewire.com) projects, but can be used in any Laravel project.

- The components are built using [Bootstrap 5](https://getbootstrap.com/docs/5.0/forms/overview/).
- Each component has a label, a name, and a value. You can pass the value as a model attribute or a value attribute.
- Required fields are automatically detected and displayed with a red asterisk.
- Errors are displayed automatically below the input if there is any.
- The `select` uses the [Selectize.js](https://selectize.github.io/selectize.js/) library to display a nice select input with search and multiple selection.
- The `ckeditor` uses the [CKEditor 5](https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/laravel.html)library to display a nice WYSIWYG editor.

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

[](#installation)

Install the package via composer:

```
composer require smirltech/laravel-form
```

Add `` component to your layout:

```
....

```

Usage
-----

[](#usage)

Here are some examples of how to use the components.

### Input

[](#input)

Use the `x-form::input` component to display a text input.

- `type` attribute to set the input type.
- `placeholder` attribute to display a placeholder.
- `required` attribute to set the input as required.
- `wire:model` attribute to bind the input to a model attribute.
- `name` attribute to set the input name.
- `label` attribute to set the input label.

```

```

[![img_2.png](img_2.png)](img_2.png)

### Select

[](#select)

use the `x-form::select` component to display a select input with options. you can pass the options as an array or a collection, or enums.

- `multiple` attribute to allow multiple selection.
- `placeholder` attribute to display a placeholder.'

```

    @foreach($cities as $city)
    {{$city->name}}
    @endforeach

```

[![img.png](img.png)](img.png)

### Ckeditor

[](#ckeditor)

Use the `x-form::ckeditor` component to display a WYSIWYG editor.

- `height` attribute to set the editor height.
- `value` attribute to set the editor value.

```

```

[![img_1.png](img_1.png)](img_1.png)

### Input Excel

[](#input-excel)

```

```

[![img_3.png](img_3.png)](img_3.png)

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

[](#contributing)

The package is still in development, so feel free to contribute.

License
-------

[](#license)

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

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance44

Moderate activity, may be stable

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 99% 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 ~25 days

Recently: every ~169 days

Total

34

Last Release

389d ago

Major Versions

v1.1.0 → v2.0.02023-02-06

v2.3.0 → v3.0.02023-04-17

v3.4.5 → v4.0.02024-12-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb55d4ea00134836f606f459e4474d27857fe712d3b74e174dd8feb46a5207f2?d=identicon)[MarienMupenda](/maintainers/MarienMupenda)

---

Top Contributors

[![MarienMupenda](https://avatars.githubusercontent.com/u/57844897?v=4)](https://github.com/MarienMupenda "MarienMupenda (201 commits)")[![francisnnumbi](https://avatars.githubusercontent.com/u/23620828?v=4)](https://github.com/francisnnumbi "francisnnumbi (1 commits)")[![lepresk](https://avatars.githubusercontent.com/u/10780686?v=4)](https://github.com/lepresk "lepresk (1 commits)")

---

Tags

bootstrap5componentsformlaravellivewirepackagephplaravellivewireformform-componentslaravel-formSmirlTech

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/smirltech-laravel-form/health.svg)

```
[![Health](https://phpackages.com/badges/smirltech-laravel-form/health.svg)](https://phpackages.com/packages/smirltech-laravel-form)
```

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[marcorieser/statamic-livewire

A Laravel Livewire integration for Statamic.

2381.5k10](/packages/marcorieser-statamic-livewire)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)

PHPackages © 2026

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