PHPackages                             philipsorensen/formcomponents - 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. philipsorensen/formcomponents

ActiveLibrary

philipsorensen/formcomponents
=============================

View components for forms in Laravel

1.1.4(3mo ago)0470—0%MITPHP

Since Jun 17Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/philipsorensen/formcomponents)[ Packagist](https://packagist.org/packages/philipsorensen/formcomponents)[ RSS](/packages/philipsorensen-formcomponents/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (41)Used By (0)

View components for forms in Laravel based on Bootstrap 5.

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

[](#installation)

> composer require philipsorensen/formcomponents

Add the following in your `config/app.php` under providers.

```
PhilipSorensen\FormComponents\Providers\FormComponentsProvider::class

```

Configuration
-------------

[](#configuration)

Publish the config file with:

```
php artisan vendor:publish --provider="PhilipSorensen\FormComponents\Providers\FormComponentsProvider" --tag="config"

```

This will publish `formcomponents.php` to your `config` directory.

Usage
-----

[](#usage)

> &lt;x-formcomponents::input /&gt;

Includes button, checkbox, email, hidden, input, number, password, select and text. Each component has label and error statements included.

The example below works for both create and edit forms. If $item is set, then it shows the edit version.

> &lt;x-formcomponents::input id="name" name="Navn" :value="old('name', isset($item) ? $item-&gt;name : '')" /&gt;

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance81

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Recently: every ~12 days

Total

40

Last Release

106d ago

### Community

Maintainers

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

---

Top Contributors

[![philipsorensen](https://avatars.githubusercontent.com/u/5397535?v=4)](https://github.com/philipsorensen "philipsorensen (44 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/philipsorensen-formcomponents/health.svg)

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

PHPackages © 2026

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