mschindler83 / twitter-bootstrap-module
Zend Framework 2 Module that provides Twitter Bootstrap viewhelpers
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mschindler83/twitter-bootstrap-module
Requires
- php: >=5.4.14
- zendframework/zend-mvc: 2.*
- zendframework/zend-view: 2.*
This package is auto-updated.
Last update: 2025-09-15 23:22:57 UTC
README
Introduction
This is a simple module which encapsulates most of the twitter bootstrap gadgets into viewhelpers
Installation
With composer
-
Add this project and in your composer.json:
"require": { "mschindler83/twitter-bootstrap-module": "dev-master" }
-
Now tell composer to download TwitterBootstrapModule by running the command:
$ php composer.phar update
-
Enabling it in your
application.config.php
file.<?php return array( 'modules' => array( // ... 'TwitterBootstrapModule', ), // ... );
Usage
Just call the viewhelper in your view.
Simple label:
echo $this->bootstrapLabel('success', 'Wohoo its a success!!');
Progress bar:
echo $this->bootstrapProgressBar() ->setAnimated() ->setStriped() ->addProgress(50, 'danger') ->addProgress(50, 'success') ->render();