2017 © Pedro Peláez
 

library twitter-bootstrap-module

Zend Framework 2 Module that provides Twitter Bootstrap viewhelpers

image

mschindler83/twitter-bootstrap-module

Zend Framework 2 Module that provides Twitter Bootstrap viewhelpers

  • Thursday, November 21, 2013
  • by mschindler83
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Twitter Bootstrap Viewhelper Module

Introduction

This is a simple module which encapsulates most of the twitter bootstrap gadgets into viewhelpers, (*1)

Installation

With composer

  1. Add this project and in your composer.json:, (*2)

    "require": {
        "mschindler83/twitter-bootstrap-module": "dev-master"
    }
    
  2. Now tell composer to download TwitterBootstrapModule by running the command:, (*3)

    $ php composer.phar update
    
  3. Enabling it in your application.config.phpfile., (*4)

    <?php
    return array(
        'modules' => array(
            // ...
            'TwitterBootstrapModule',
        ),
        // ...
    );
    

Usage

Just call the viewhelper in your view., (*5)

Simple label:, (*6)

echo $this->bootstrapLabel('success', 'Wohoo its a success!!');

Progress bar:, (*7)

echo $this->bootstrapProgressBar()
    ->setAnimated()
    ->setStriped()
    ->addProgress(50, 'danger')
    ->addProgress(50, 'success')
    ->render();

The Versions

21/11 2013

dev-master

9999999-dev http://www.markus-schindler.de/projects/zf2-twitterbootstrap-module

Zend Framework 2 Module that provides Twitter Bootstrap viewhelpers

  Sources   Download

MIT

The Requires

 

zf2 module viewhelper twitterbootstrap