PHPackages                             zhanang19/form-component - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zhanang19/form-component

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zhanang19/form-component
========================

This package will provide a form component as Laravel Component.

v0.6(6y ago)7441[1 issues](https://github.com/zhanang19/form-component/issues)[1 PRs](https://github.com/zhanang19/form-component/pulls)MITPHP

Since May 24Pushed 3y ago1 watchersCompare

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

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

Laravel 7 Form Component
========================

[](#laravel-7-form-component)

[![Featured image](docs/img/featured.png "Featured image by @myta1981 on Dribbble")](docs/img/featured.png)

This is a packages that provides form component supporting modern CSS Framework. This work was inspired from [nafiesl/FormField](https://github.com/nafiesl/FormField)

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

[](#installation)

Install this package through [Composer](https://getcomposer.org/) by running command `composer require zhanang19/form-component`

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

[](#configuration)

- This package come with 2 form theme from [Bootstrap](https://getbootstrap.com) and [Bulma](https://bulma.io)
- You must publish config by running `php artisan vendor:publish --provider="Zhanang19\FormComponent\FormComponentServiceProvider" --tag=config` to setup form theme
- You can optionally publish views by running `php artisan vendor:publish --provider="Zhanang19\FormComponent\FormComponentServiceProvider" --tag=config`. This is useful when you want to add your own theme or customize default theme

Usage
-----

[](#usage)

- Basic usage Type this on your blade view:

    ```

    ```

    Will generate:

    ```

        First Name

    ```
- Advanced usage

    This package automatically merge attributes into form input tag. We also provide some useful slot here. Check [Laravel Component Section](https://laravel.com/docs/7.x/blade) for more usage.

Todo
----

[](#todo)

- Add configuration
- Add unit test (see [\#1](https://github.com/zhanang19/form-component/issues/1))
- Add form horizontal layouts in Bulma theme
- Add form group layouts in Bootstrap theme

Credits
-------

[](#credits)

- [Zainal Hasan](https://github.com/zhanang19)
- [Meyta Tan](https://dribbble.com/myta1981)
- [All Contributors](../../contributors)

Support
-------

[](#support)

- [Buy me a coffee](https://www.buymeacoffee.com/zhanang19)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~4 days

Total

2

Last Release

2226d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/743022649ac069fc287e45c0dec296b0c0faf591e1bce46fbe059742252b1e4f?d=identicon)[zhanang19](/maintainers/zhanang19)

---

Top Contributors

[![zhanang19](https://avatars.githubusercontent.com/u/19884603?v=4)](https://github.com/zhanang19 "zhanang19 (8 commits)")[![me2y](https://avatars.githubusercontent.com/u/37582905?v=4)](https://github.com/me2y "me2y (1 commits)")

### Embed Badge

![Health badge](/badges/zhanang19-form-component/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M375](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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