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

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

bgaze/bootstrap-form
====================

Bootstrap 4 forms builder for Laravel 5.8+

v2.0.0(1y ago)5248.2k↑1441.7%5MITPHPPHP &gt;=7.2.5

Since Nov 11Pushed 1y ago4 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (13)Used By (0)

Bootstrap 4 forms builder for Laravel 6+
=========================================

[](#bootstrap-4-forms-builder-for-laravel-6-)

[![GitHub license](https://camo.githubusercontent.com/4b7f7670e0e5f5483139300b6c5dd680028c5b6acd639dc1c2cce69ab854f74f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6267617a652f626f6f7473747261702d666f726d)](https://github.com/bgaze/bootstrap-form/blob/master/LICENSE)[![Maintenance](https://camo.githubusercontent.com/fddb9ea02ac78bc1274215fb8c984c63470c9cf1380c90e1fceb44011b6582a8/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f32303330)](https://camo.githubusercontent.com/fddb9ea02ac78bc1274215fb8c984c63470c9cf1380c90e1fceb44011b6582a8/68747470733a2f2f696d672e736869656c64732e696f2f6d61696e74656e616e63652f7965732f32303330)[![GitHub release (latest by date)](https://camo.githubusercontent.com/54a8e95fa243a4c219c3aa86333e8a5cea1b3bacba966cade5b67def495bfe73/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6267617a652f626f6f7473747261702d666f726d)](https://camo.githubusercontent.com/54a8e95fa243a4c219c3aa86333e8a5cea1b3bacba966cade5b67def495bfe73/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6267617a652f626f6f7473747261702d666f726d)[![GitHub Repo stars](https://camo.githubusercontent.com/8f3468aa494cd97a7998a384f47b5fc12414c12affdf3afbe9f1ee80a042cba6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6267617a652f626f6f7473747261702d666f726d3f7374796c653d666c6174)](https://github.com/bgaze/bootstrap-form/stargazers)[![Packagist](https://camo.githubusercontent.com/7b106e8fb01e6b81fd73b684ef03816c87489d55807ea7dfc3174fcdc63cb08d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6267617a652f626f6f7473747261702d666f726d)](https://camo.githubusercontent.com/7b106e8fb01e6b81fd73b684ef03816c87489d55807ea7dfc3174fcdc63cb08d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6267617a652f626f6f7473747261702d666f726d)

 [![Bootstrap 4 forms builder for Laravel 6+](./intro.png)](./intro.png)

This package uses in background [Laravel Collective HTML](https://laravelcollective.com/docs/5.8/html) to simplify Bootstrap 4 forms creation into Laravel applications.

Model form binding and automatic error display are supported, as well as most of Bootstrap forms features : form layouts, custom fields, input groups, ...

Any contribution or feedback is highly welcomed, please feel free to create a pull request or [submit a new issue](https://github.com/bgaze/bootstrap-form/issues/new).

Documentation
-------------

[](#documentation)

Full documentation and examples are available at

If you use **PhpStorm IDE**, you can also check [this gist](https://gist.github.com/bgaze/1f559782c85511dc2671cdb6b453f0c6) which allow to easily configure **syntax highlighting**and **live templates** for this package's custom Blade directives.

Quick start
-----------

[](#quick-start)

Simply install the package using Composer:

```
composer require bgaze/bootstrap-form
```

There are a various configuration options available, publish the configuration file to customize them:

```
php artisan vendor:publish --provider="Bgaze\BootstrapForm\BootstrapFormServiceProvider"
```

The `BF` facade provides many methods to create forms and inputs:

```
echo BF::open(['url' => '/my/url', 'novalidate' => true])
echo BF::text('login')
echo BF::email('email')
echo BF::checkbox('remember_me', null, 1, null, ['switch' => true, 'inline' => true])
echo BF::submit('Login')
echo BF::close()
```

Most of them have a Blade directive alias to ease form creation from Blade templates:

```
@open(['url' => '/my/url', 'novalidate' => true])
@text('login')
@email('email')
@checkbox('remember_me', null, 1, null, ['switch' => true, 'inline' => true])
@submit('Login')
@close
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance43

Moderate activity, may be stable

Popularity42

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity60

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

Recently: every ~482 days

Total

11

Last Release

458d ago

Major Versions

v1.0.9 → v2.0.02025-03-23

PHP version history (2 changes)v1.0.0PHP &gt;=7.0

v2.0.0PHP &gt;=7.2.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f4a5f965ee3485d7f2c78450a371d363027a7f10935d6559869874a584d5402?d=identicon)[bgaze](/maintainers/bgaze)

---

Top Contributors

[![bgaze](https://avatars.githubusercontent.com/u/985214?v=4)](https://github.com/bgaze "bgaze (55 commits)")[![ronvdberkmortel](https://avatars.githubusercontent.com/u/11784967?v=4)](https://github.com/ronvdberkmortel "ronvdberkmortel (1 commits)")

---

Tags

laravelbootstrapform

### Embed Badge

![Health badge](/badges/bgaze-bootstrap-form/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[anahkiasen/former

A powerful form builder

1.3k1.4M14](/packages/anahkiasen-former)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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