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(5y 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 6d 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 32% 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

2178d 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[mrmarchone/laravel-auto-crud

Laravel Auto CRUD helps you streamline development and save time.

28711.8k2](/packages/mrmarchone-laravel-auto-crud)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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