PHP and Javascrcipt helpers for creation of Bootstrap 3 UI elements

Installs: 148

Dependents: 0

Suggesters: 0

Stars: 2

Watchers: 4

Forks: 0

Open Issues: 0

0.1.6 2014-05-20 09:42 UTC


Build Status Coverage Status Latest Stable Version Total Downloads License

MUIH, for Myc-lab User Interface Helper, is a PHP and Javascript library containing helpers for creation of Bootstrap 3 UI elements.

It is aiming to provide plain php objects for html/js component and helper for Zend1, Zend2 and twig(to be implemented).


$button = new Button('Some Label', 'info');

This will echo a simple html button. Alternatively, you can use render() to get the code.

$modal = new Modal('Some Content');

$modal->setHeaderContent('Some Title');
$modal->addAttribute('id', 'some_id');


This will echo a modal #some_id element, with body having .some-class class.

echo $this->button('Show Modal')->showModal('some_id');

You can also use helper fer Zend1 and Zend2.