PHPackages                             kgrzelak/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. [Templating &amp; Views](/categories/templating)
4. /
5. kgrzelak/laravel-form

ActiveLibrary[Templating &amp; Views](/categories/templating)

kgrzelak/laravel-form
=====================

1.0.8(1y ago)81.0k2MITPHPPHP ^8.2

Since Jan 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kgrzelak/laravel-form)[ Packagist](https://packagist.org/packages/kgrzelak/laravel-form)[ RSS](/packages/kgrzelak-laravel-form/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (7)Versions (19)Used By (0)

HTML form helper for Laravel
============================

[](#html-form-helper-for-laravel)

Features
--------

[](#features)

- Simple form elements creation with laravel errors from validation
- Fully customizable form elements with fluent interface

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

[](#installation)

```
composer require kgrzelak/laravel-form
```

After installation, you can publish config file.

```
php artisan vendor:publish --provider="Kgrzelak\LaravelForm\LaravelFormServiceProvider"
```

Usage examples in blade
-----------------------

[](#usage-examples-in-blade)

### Form input

[](#form-input)

```
Form::input()
    ->name('input-name')
    ->type('text')
    ->value('input-value')
    ->placeholder('input-placeholder')
    ->setClass('form-control')
    ->addClass('mt-5')
    ->attribute('readonly', 'readonly')
    ->attribute('required', 'required');
```

### Form textarea

[](#form-textarea)

```
Form::textarea()
    ->name('textarea-name')
    ->value('textarea-value')
    ->placeholder('textarea-placeholder')
    ->setClass('form-control')
    ->addClass('mt-5')
    ->attribute('readonly', 'readonly')
    ->attribute('required', 'required');
```

### Form select

[](#form-select)

```
Form::select()
    ->name('select-name')
    ->setOptions([
        'option-value-1' => 'option-label-1',
        'option-value-2' => 'option-label-2',
        'option-value-3' => 'option-label-3',
    ])
    ->addOption('option-value-4', 'option-label-4')
    ->value('option-value-2')
    ->setClass('form-control')
    ->addClass('mt-5')
    ->attribute('readonly', 'readonly')
    ->attribute('required', 'required');
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance43

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.2% 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 ~60 days

Total

17

Last Release

493d ago

Major Versions

0.7.1 → 1.0.02024-06-30

### Community

Maintainers

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

---

Top Contributors

[![kgrzelak](https://avatars.githubusercontent.com/u/51724541?v=4)](https://github.com/kgrzelak "kgrzelak (55 commits)")[![Wojtazzzz](https://avatars.githubusercontent.com/u/77293179?v=4)](https://github.com/Wojtazzzz "Wojtazzzz (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[binaryk/laravel-restify

Laravel REST API helpers

677415.0k](/packages/binaryk-laravel-restify)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3417.0k](/packages/duncanmcclean-statamic-cargo)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)

PHPackages © 2026

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