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. [Templating &amp; Views](/categories/templating)
4. /
5. philipsorensen/formcomponents

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

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

View components for forms in Laravel

1.1.5(1mo ago)0637—5.1%MITPHP

Since Jun 17Pushed 1mo ago1 watchersCompare

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

READMEChangelog (4)Dependencies (6)Versions (42)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

46

—

FairBetter than 92% of packages

Maintenance92

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

Recently: every ~39 days

Total

41

Last Release

39d 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 (45 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)
```

###  Alternatives

[limenius/react-bundle

Client and Server-side react rendering in a Symfony Bundle

3861.2M](/packages/limenius-react-bundle)[area17/laravel-auto-head-tags

Laravel Auto Head Tags helps you build the list of head elements for your app

4616.0k](/packages/area17-laravel-auto-head-tags)[jelix/wikirenderer

WikiRenderer is a library to generate HTML or anything else from wiki content.

1712.2k1](/packages/jelix-wikirenderer)[webkinder/sproutset

A Composer package for handling responsive images in Roots Bedrock + Sage + Blade projects.

291.8k](/packages/webkinder-sproutset)[awkwardideas/switchblade

Extended blade directives for laravel

102.1k](/packages/awkwardideas-switchblade)

PHPackages © 2026

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