PHPackages                             form-manager/bootstrap - 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. form-manager/bootstrap

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

form-manager/bootstrap
======================

FormManager extension to create bootstrap like forms

v2.0.2(8y ago)28.7k↓36%2[1 issues](https://github.com/oscarotero/form-manager-bootstrap/issues)AGPL-3.0PHP

Since Sep 14Pushed 8y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (1)Versions (7)Used By (0)

FormManager\\Bootstrap
======================

[](#formmanagerbootstrap)

Created by Oscar Otero

Requirements:

- PHP 5.4
- Composer or any PSR-4 autoloader

This is a extension of [FormManager](https://github.com/oscarotero/form-manager) library to generate bootstrap forms easily

Usage
-----

[](#usage)

```
use FormManager\Bootstrap;

$myForm = Bootstrap::form([
	'name' => Bootstrap::text()->label('Your name'),
	'email' => Bootstrap::email()->label('Your email')
]);

echo $myForm;
```

You can generate horizontal forms and inline forms:

```
use FormManager\Bootstrap;

$myHorizontalForm = Bootstrap::formHorizontal($fields);
$myInlineForm = Bootstrap::formInline($fields);
```

Use `set` method to customize each field. The available properties:

- size: (sm|lg) To create small/large fields
- addon-before: To insert an addon before the input
- addon-after: To insert an addon after the input
- help: To insert a help block before the input

```
use FormManager\Bootstrap;

$myForm = Bootstrap::form([
	'name' => Bootstrap::text()->label('Your name')->set('size', 'lg'),
	'email' => Bootstrap::email()->label('Your email')->set([
		'addon-before' => '@',
		'help' => 'Insert here your email'
	])
]);

echo $myForm;
```

More information:

- [FormManager library](https://github.com/oscarotero/form-manager)
- [Bootstrap forms](http://getbootstrap.com/css/#forms)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 81.8% 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 ~205 days

Recently: every ~256 days

Total

6

Last Release

3275d ago

Major Versions

v1.0.2 → v2.02015-05-04

### Community

Maintainers

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

---

Top Contributors

[![oscarotero](https://avatars.githubusercontent.com/u/377873?v=4)](https://github.com/oscarotero "oscarotero (9 commits)")[![Manriel](https://avatars.githubusercontent.com/u/2412983?v=4)](https://github.com/Manriel "Manriel (2 commits)")

---

Tags

htmlbootstrapform

### Embed Badge

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

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

###  Alternatives

[tomaj/nette-bootstrap-form

Nette bootstrap form renderer

28450.6k8](/packages/tomaj-nette-bootstrap-form)[tomjamon/laravel-custom-html

Custom HTML generator for Laravel (Based on LaravelCollective HTML)

1018.6k](/packages/tomjamon-laravel-custom-html)[zfbase/zend1-bootstrap3

Twitter Bootstrap v.3 Forms for Zend Framework v.1

1458.0k3](/packages/zfbase-zend1-bootstrap3)[vluzrmos/collective-html

LaravelCollective Html and Form builder for Lumen.

2223.9k](/packages/vluzrmos-collective-html)[ycs77/laravel-form-builder-bs4

The laravel-form-builder's bootstrap 4 template.

1342.9k2](/packages/ycs77-laravel-form-builder-bs4)[mopa/bootstrap-sandbox-bundle

Seperate live docs from code

246.8k](/packages/mopa-bootstrap-sandbox-bundle)

PHPackages © 2026

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