zucchi / bootstrap
Simple Module to allow facilitate use of Twitter Bootstrap
Installs: 480
Dependents: 1
Suggesters: 0
Security: 0
Stars: 9
Watchers: 5
Forks: 7
Open Issues: 2
Type:module
Requires
- php: >=5.4.1
- zucchi/zucchi: dev-master
This package is not auto-updated.
Last update: 2024-11-09 12:34:41 UTC
README
Module to provide files and helpers for use with ZF2 Modules
Installation
From the root of your ZF2 Skeleton Application run
./composer.phar require zucchi/bootstrap
This module will require your vhost to use an AliasMatch
AliasMatch /_([^/]+)/(.+)/([^/]+) /path/to/vendor/$2/public/$1/$3
You can now include the following in your layout to make use of Twitters Bootstrap
<?=$this->headLink()->appendStylesheet($this->basePath() . '/_css/zucchi/bootstrap/bootstrap.min.css')
->appendStylesheet($this->basePath() . '/_css/zucchi/bootstrap/bootstrap-responsive.min.css')?>
<?=$this->headScript()->appendFile($this->basePath() . '/_js/zucchi/bootstrap/bootstrap.min.js') ?>
Available Features
- Form View Helpers
- Bootstrap Form - Render a complete form
- Bootstrap Collection - Render a collection Element
- Bootstrap Row = Render an element
- Navigation View Helpers (navbar only)
- Alert View Helpers
Roadmap
- Image/Thumbnail view Helper
- Dropdown Helpers
- Navigation (tabs, pills, stackable, list) Helpers
- Breadcrumb Helpers
- Pagination Helpers