PHPackages                             tuhin18003/codeigniter-form-builder - 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. tuhin18003/codeigniter-form-builder

ActiveCodeigniter-library

tuhin18003/codeigniter-form-builder
===================================

Easily create form in Codeigniter framework.

v1.0.0(8y ago)049MITPHPPHP &gt;=5.5.0

Since Mar 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tuhin18003/codeigniter-form-builder)[ Packagist](https://packagist.org/packages/tuhin18003/codeigniter-form-builder)[ Docs](https://github.com/tuhin18003/codeigniter-form-builder)[ RSS](/packages/tuhin18003-codeigniter-form-builder/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Codeigniter Form Builder
========================

[](#codeigniter-form-builder)

This is under heavy construction and in early alpha stages. It is an easy way to create form in Codeigniter developement.

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

[](#installation)

#### Bleeding Edge

[](#bleeding-edge)

During your development, you can keep up with the latest changes on the master branch by setting the version requirement for form\_builder to `dev-master`

```
{
   "require": {
      "tuhin18003/codeigniter-form-builder": "dev-master"
   }
}
```

#### Via command line:

[](#via-command-line)

```
composer require tuhin18003/codeigniter-form-builder
```

How to use:
-----------

[](#how-to-use)

You can use it very easily on your code and easily create bootstrap from without typing html into view file.

#### Basic Form Example:

[](#basic-form-example)

```
public function index()
{
  $this->load->helper('form');

  $form = new \Cs_form\Cs_form();
  $bootstrap = $form->Bootstrap();

  $inputs = $bootstrap->generate_basic_form(array(
  	'action' => 'test',
        'attributes' => array( 'class' => 'formclass', 'id' => 'myform' ),
        'fields' => array(
        	array(
                	'type'          => 'text',
                        'label'         => array( 'text' => 'What is your Name', 'id' => 'username', 'attribute' => array( 'class' => '')),
                        'input'          => array(
                            'name'          => 'username',
                            'id'            => 'username',
                            'value'         => 'johndoe',
                            'class'         => 'form-control'
                        )
                    )
                )
            ));

   $this->load->view( 'welcome_message', array( 'inputs' => $inputs ) );
}

```

#### Inline Form Example:

[](#inline-form-example)

```
 $inputs = $bootstrap->generate_inline_form(array(
  	'action' => 'test',
        'attributes' => array( 'id' => 'myform' ),
        'fields' => array(
        	array(
                	'type'          => 'text',
                        'label'         => array( 'text' => 'What is your Name', 'id' => 'username', 'attribute' => array( 'class' => '')),
                        'input'          => array(
                            'name'          => 'username',
                            'id'            => 'username',
                            'value'         => 'johndoe',
                            'class'         => 'form-control'
                        )
                    )
                )
            ));

```

#### Horizontal Form Example:

[](#horizontal-form-example)

```
$inputs = $bootstrap->generate_horizontal_form(array(
  	'action' => 'test',
        'attributes' => array( 'id' => 'myform' ),
        'fields' => array(
        	array(
                	'type'          => 'text',
                        'label'         => array( 'text' => 'What is your Name', 'id' => 'username', 'attribute' => array( 'class' => 'col-sm-2 control-label')),
                        'input'          => array(
                            'name'          => 'username',
                            'id'            => 'username',
                            'value'         => 'johndoe',
                            'class'         => 'form-control',
                            'input_wrap_class' => 'col-sm-10'
         )
      )
   )
));

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

2985d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d3ca97c3d8c9f5c5e46763ff130c96b5b5deafc3d2c41ce78d19ad50fda3b9c?d=identicon)[tuhin18003](/maintainers/tuhin18003)

---

Top Contributors

[![tuhin18003](https://avatars.githubusercontent.com/u/3587495?v=4)](https://github.com/tuhin18003 "tuhin18003 (7 commits)")

---

Tags

codeigniterformcodeigniter formcodeigniter bootstrap

### Embed Badge

![Health badge](/badges/tuhin18003-codeigniter-form-builder/health.svg)

```
[![Health](https://phpackages.com/badges/tuhin18003-codeigniter-form-builder/health.svg)](https://phpackages.com/packages/tuhin18003-codeigniter-form-builder)
```

###  Alternatives

[composer/installers

A multi-framework Composer library installer

1.4k136.0M6.0k](/packages/composer-installers)[vluzrmos/collective-html

LaravelCollective Html and Form builder for Lumen.

2523.9k](/packages/vluzrmos-collective-html)[lrgt/laravel-form-ajax-validation

Make ajax validation with Laravel Requests for forms with bootstrap

435.6k](/packages/lrgt-laravel-form-ajax-validation)[rougin/refinery

"Ready-to-eat" Codeigniter 3 migrations.

183.8k](/packages/rougin-refinery)

PHPackages © 2026

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