smirltech/laravel-form
Larablocks Analysis
smirltech/laravel-form works with Laravel 9, 10 and 11 (latest release v4.0.0, Dec 30, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.
Laravel 8 in earlier releases.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Supports only Laravel 9, 10 and 11, past end of life since Mar 12, 2026
- No release in the last 12 months (last: Dec 30, 2024)
- 715 downloads a month (needs 10,000)
- 6 GitHub stars (needs 100)
State
Quiet- Last stable release: Dec 30, 2024.
- No releases in the last 12 months.
- First released: Jan 13, 2023.
- Monthly downloads: 715, up 1177% from six months ago.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require smirltech/laravel-form |
|
| Latest Version: | v4.0.0 |
| PHP: | ^8.1 |
| Laravel: | 9 · 10 · 11 |
| Older releases: | 8 |
| License: | MIT |
| Last Updated: | Apr 24, 2025 |
| Links: | GitHub · Packagist |

Laravel Form components
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 projects, but can be used in any Laravel project.
- The components are built using Bootstrap 5.
- 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
selectuses the Selectize.js library to display a nice select input with search and multiple selection. - The
ckeditoruses the CKEditor 5 library to display a nice WYSIWYG editor.
Installation
Install the package via composer:
composer require smirltech/laravel-form
Add <x-form::scripts/> component to your layout:
....
<x-form::scripts/>
Usage
Here are some examples of how to use the components.
Input
Use the x-form::input component to display a text input.
typeattribute to set the input type.placeholderattribute to display a placeholder.requiredattribute to set the input as required.wire:modelattribute to bind the input to a model attribute.nameattribute to set the input name.labelattribute to set the input label.
<x-form::input label="Nom" required wire:model="hotel.name" name="name"/>

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.
multipleattribute to allow multiple selection.placeholderattribute to display a placeholder.'
<!-- using model attribute -->
<x-form::select label="Ville" wire:model="city" :options="$cities"/>
<!-- using name -->
<x-form::select label="Ville" name="city" :options="$cities"/>
<!-- using foreach loop -->
<x-form::select label="Ville" name="city">
@foreach($cities as $city)
<option value="{{$city->value}}">{{$city->name}}</option>
@endforeach
</x-form::select>

Ckeditor
Use the x-form::ckeditor component to display a WYSIWYG editor.
heightattribute to set the editor height.valueattribute to set the editor value.
<x-form::ckeditor
label="Description"
height="200"
name="description"
value="Lorem ipsum dolor sit amet."/>

Input Excel
<x-form::input.xlsx label="Fichier" name="file"/>

Contributing
The package is still in development, so feel free to contribute.
License
The MIT License (MIT). Please see License File for more information.
Related Packages
A Livewire component to display an unsaved changes bar with Alpine.js
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v4.0.0 | ^8.1 | ^11.0| | MIT | |
| v3.4.5 | ^8.1 | ^10.0| | MIT | |
| v3.4.4 | ^8.1 | ^10.0| | MIT | |
| v3.4.3 | ^8.1 | ^10.0| | MIT | |
| v3.4.2 | ^8.1 | ^10.0| | MIT | |
| v3.4.1 | ^8.1 | ^10.0| | MIT | |
| v3.4.0 | ^8.1 | ^10.0| | MIT | |
| v3.3.2 | ^8.1 | ^10.0| | MIT | |
| v3.3.1 | ^8.1 | ^10.0| | MIT | |
| v3.3.0 | ^8.1 | ^10.0| | MIT | |
| v3.2.0 | ^8.1 | ^10.0| | MIT | |
| v3.1.0 | ^8.1 | ^10.0| | MIT | |
| v3.0.4 | ^8.1 | ^10.0| | MIT | |
| v3.0.3 | ^8.1 | ^10.0| | MIT | |
| v3.0.2 | ^8.1 | ^10.0| | MIT | |
| v3.0.1 | ^8.1 | ^10.0| | MIT | |
| v3.0.0 | ^8.1 | ^10.0| | MIT | |
| v2.3.0 | ^8.1 | ^10.0| | MIT | |
| v2.2.2 | ^8.1 | ^10.0| | MIT | |
| v2.2.1 | ^8.1 | ^10.0| | MIT | |
| v2.2.0 | ^8.1 | ^10.0| | MIT | |
| v2.1.0 | ^8.1 | ^9.0 | MIT | |
| v2.0.5 | ^8.1 | ^9.0 | MIT | |
| v2.0.4 | ^8.1 | ^9.0 | MIT | |
| v2.0.3 | ^8.1 | ^9.0 | MIT | |
| v2.0.2 | ^8.1 | ^9.0 | MIT | |
| v2.0.0 | ^8.1 | ^9.0 | MIT | |
| v1.1.1 | ^8.1 | ^9.0 | MIT | |
| v1.1.0 | ^8.1 | ^9.0 | MIT | |
| v1.0.2 | ^8.1 | ^9.0 | MIT |
Showing the latest 30 of 32. See every release on Packagist