easybib / form-decorator
EasyBib_Form_Decorator is a set of Twitter Bootstrap decorators for Zend_Form
0.4.1
2013-07-26 15:59 UTC
Requires
- php: >=5.3.0
Suggests
- easybib-core/zf1: Our Zend Framework 1 fork (sans require_once and a couple components we don't need/use)
This package is auto-updated.
Last update: 2024-12-08 07:39:28 UTC
README
Installation & Configuration
Composer
Add this to repositories:
{ "type": "vcs", "url": "https://github.com/easybib/EasyBib_Form_Decorator" }
Then this in require:
"easybib/form-decorator": "*"
PEAR
sudo pear channel-discover easybib.github.com/pear
sudo pear install easybib/EasyBib_Form_Decorator-alpha
- add
autoloaderNamespaces[] = "EasyBib"
to yourapplication.ini
- add
$view->addHelperPath('EasyBib/View/Helper', 'EasyBib_View_Helper');
in your Bootstrap - follow examples in docs folder to integrate it into your forms
Updating? (PEAR)
(We like you best!)
sudo pear upgrade -c easybib
or:sudo pear channel-update easybib.github.com/pear
pear upgrade easybib/EasyBib_Form_Decorator
Form Decorator
See docs
folder for a example form and controller usage of decorator stuff
MessagesFormatter
A View Helper to print out fancy twitter bootstrap messages. Needs to be added to view helper path (see Installlation 4.)
Create new package Version
Package Rep (after source change)
- change version in generate-package.php
- php generate-package.php make
- pear package
- move created tgz archiv to pear rep
Pear Rep
pirum add . new_version.tgz
git add -A
git commit -a
git push origin gh-pages
Pear Upgrade (local/vagrant box)
sudo pear upgrade -c easybib
- (
sudo pear channel-update easybib.github.com/pear
)