PHPackages                             michalkortas/laravelforms - 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. michalkortas/laravelforms

ActiveLaravel-library[Templating &amp; Views](/categories/templating)

michalkortas/laravelforms
=========================

A simple library to make Laravel Blade forms faster and easier

v1.9.0(2y ago)9905—0%1MITPHPPHP &gt;=7

Since Jul 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/michalkortas/laravelforms)[ Packagist](https://packagist.org/packages/michalkortas/laravelforms)[ Docs](https://webroad.dev/packages/laravelforms/documentation)[ RSS](/packages/michalkortas-laravelforms/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (26)Used By (0)

laravelforms
============

[](#laravelforms)

A simple library to make Laravel Blade forms faster and easier. Every component returns full form control with Bootstrap CSS classes. Out of the box supports Laravel validation errors.

### Supported form input components

[](#supported-form-input-components)

- Checkbox
- Color
- Date
- DateTime
- Email
- Hidden
- Number
- Password
- Phone
- Radio
- Select
- Select Multiple
- Text
- Textarea
- Url
- File
- Time
- Month

Licence
-------

[](#licence)

MIT

Documentation &amp; usage
-------------------------

[](#documentation--usage)

Documentation is available on package website

Packagist:

Support
-------

[](#support)

Laravel 7 and 8 are only supported versions

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

[](#installation)

`composer require michalkortas/laravelforms`

Register new ServiceProvider (only if not exists - Laravel register it automatically, but who knows?) in config/app.php

```
michalkortas\LaravelForms\LaravelFormsServiceProvider::class
```

Example
-------

[](#example)

### Simple Text input

[](#simple-text-input)

Inserted Text component

```

```

HTML output:

```

    This is simple text label

```

### Simple Select input

[](#simple-select-input)

Inserted Select component

```
$options = [1=>"one", 2=>"two", 3=>"three"];

```

HTML output:

```

    This is simple text label

        one
        two
        three

```

### Using Laravel Models

[](#using-laravel-models)

You can also use Laravel Models to fill every inputs.

#### Simple inputs

[](#simple-inputs)

```

```

HTML output:

```

    String translation

```

Object key is set by "name" attribute. If you want to change it, use "model-key" attribute instead. This can be also relation path (separator: ".""), eg. *firstrelation.second.id*

```

```

HTML output:

```

    String translation

```

#### Inputs with multiple values (eg. select multiple, checkbox)

[](#inputs-with-multiple-values-eg-select-multiple-checkbox)

If you want to get data from your Pivot relation to check multiple options, pass via model-key attribute relation path to related table. Last part of this path is a table field, that should be use to [verify checked/selected state](https://laravel.com/docs/7.x/collections#method-pluck).

```

```

###  Health Score

33

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Recently: every ~155 days

Total

25

Last Release

932d ago

### Community

Maintainers

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

---

Top Contributors

[![michalkortas](https://avatars.githubusercontent.com/u/1836004?v=4)](https://github.com/michalkortas "michalkortas (66 commits)")

---

Tags

laravelbladebootstrapForms

### Embed Badge

![Health badge](/badges/michalkortas-laravelforms/health.svg)

```
[![Health](https://phpackages.com/badges/michalkortas-laravelforms/health.svg)](https://phpackages.com/packages/michalkortas-laravelforms)
```

###  Alternatives

[metalogico/laravel-formello

A Laravel package for generating Bootstrap 5 and Tailwind CSS 4 forms based on models

1011.6k](/packages/metalogico-laravel-formello)[galahad/bootforms

Form builder with Bootstrap-specific conveniences. Remembers old input, retrieves error messages and handles all your boilerplate Bootstrap markup automatically.

1061.4k](/packages/galahad-bootforms)[madbob/larastrap

Opinionated Bootstrap5 components for Laravel.

108.8k](/packages/madbob-larastrap)

PHPackages © 2026

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