# CSS class Bootstrap3 in zend\_form

**URL:** <https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100>\
**Category:** Components & MVC\
**Tags:** zf1\
**Created:** [May 7, 2017, 1:01am UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100 "2017-05-07T01:01:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![karango](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@karango](https://discourse.laminas.dev/u/karango)\
**Post date:** [May 7, 2017, 1:01am UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100/1 "2017-05-07T01:01:04Z")

</div>

Hi!  
I am starter in zend framework, i use zend framework 1.12.9. i have some problem with zend\_form, i want to decorate my form using Twitter Bootstrap3 or personal CSS class, HTML tags but i don’t know how.  
is there someone who can help me please?

---

<div class="post-metadata">

**Author:** ![ocramius](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/ocramius/32/23_2.png) [@ocramius](https://discourse.laminas.dev/u/ocramius)\
**Post date:** [May 7, 2017, 12:07pm UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100/2 "2017-05-07T12:07:07Z")

</div>

Hey karango,

ZF1 is end-of-life, so if you just started with it, I suggest moving away from it as soon as possible.

As for your question, did you already see [https://stackoverflow.com/questions/3157058/zend-form-add-css-class-how-can-i-add-css-class-to-label-in-zend-form](https://stackoverflow.com/questions/3157058/zend-form-add-css-class-how-can-i-add-css-class-to-label-in-zend-form)

---

<div class="post-metadata">

**Author:** ![karango](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@karango](https://discourse.laminas.dev/u/karango)\
**Post date:** [May 7, 2017, 1:10pm UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100/3 "2017-05-07T13:10:09Z")

</div>

Okay, Thank you!  
I take note of your advise, but can you help me link to set up zf2 on debian8 or linuxmint 18. this is 2 os that i us, debian8 come with zf1.12.9 and linuxmint18 with zend framework3.

---

<div class="post-metadata">

**Author:** ![MichaelGooden](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/michaelgooden/32/83_2.png) [@MichaelGooden](https://discourse.laminas.dev/u/MichaelGooden)\
**Post date:** [May 8, 2017, 6:49am UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100/4 "2017-05-08T06:49:22Z")

</div>

You should not be using PHP packages provided by your OS! As you can see they are often out of date.

Zend Framework (and every other decent PHP project that exists) uses a dependency manager called Composer.

Follow the official tutorials, which will help you get started using the latest version of Zend Framework: [https://docs.zendframework.com/tutorials/getting-started/overview/](https://docs.zendframework.com/tutorials/getting-started/overview/)

---

<div class="post-metadata">

**Author:** ![karango](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@karango](https://discourse.laminas.dev/u/karango)\
**Post date:** [May 8, 2017, 12:03pm UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100/5 "2017-05-08T12:03:57Z")

</div>

thanks for your help…!

---

<div class="post-metadata">

**Author:** ![ocramius](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.laminas.dev/ocramius/32/23_2.png) [@ocramius](https://discourse.laminas.dev/u/ocramius)\
**Post date:** [May 8, 2017, 12:49pm UTC](https://discourse.laminas.dev/t/css-class-bootstrap3-in-zend-form/100/6 "2017-05-08T12:49:53Z")

</div>

Closed on May 8, 2017, 12:49pm UTC


