Created: 2012-03-23 21:26
Updated: 2013-10-09 17:56

Twitter Bootstrap Form Decorators

Version 0.0.1 Created by Mike Willbanks


Twitter Bootstrap Form Decorators is an attempt to implement the Twitter Bootstrap 2.0-wip branch of forms within Zend Framework 2.


Current State

Many of the main elements pretty much work... this is really a work in progress right now. What I know does not work:

  • Captcha
  • File
  • Probably other things :)


Main Setup

  1. Clone this project into your ./vendors/ directory and enable it in your application.config.php file.

Example Form

        use \TwitterBootstrapFormDecorators\Form\Form;

        class Base extends Form
                 ->addElement('hash', 'csrf', array(
                'ignore' => true,
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more