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

ActiveLibrary

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 1mo 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 86% of packages

Maintenance46

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

446d ago

Major Versions

0.7.1 → 1.0.02024-06-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f5c5bde7f9ddedd87654d5dfca631e2fcc7de5d72818a9af50982d04a26b4e7?d=identicon)[kg21](/maintainers/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

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[mozex/laravel-scout-bulk-actions

A Laravel Scout extension for bulk importing and flushing of all models.

1033.4k](/packages/mozex-laravel-scout-bulk-actions)

PHPackages © 2026

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