# Which html purifier (for forms) plugin?

**URL:** <https://discourse.cakephp.org/t/which-html-purifier-for-forms-plugin/4698>\
**Category:** Need Help\
**Created:** [August 9, 2018, 5:39pm UTC](https://discourse.cakephp.org/t/which-html-purifier-for-forms-plugin/4698 "2018-08-09T17:39:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kitcat711](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@Kitcat711](https://discourse.cakephp.org/u/Kitcat711)\
**Post date:** [August 9, 2018, 5:39pm UTC](https://discourse.cakephp.org/t/which-html-purifier-for-forms-plugin/4698/1 "2018-08-09T17:39:48Z")

</div>

Hello,

Prior to 3.6 I was using [chrisShick](https://github.com/chrisShick/CakePHP3-HtmlPurifier) plugin.  
It seems that it is not going to be migrated and I am looking for a similar plugin compatible with Cake 3.6.  
Which one would you recommend?

---

<div class="post-metadata">

**Author:** ![dakota](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/dakota/32/1421_2.png) [@dakota](https://discourse.cakephp.org/u/dakota)\
**Post date:** [August 13, 2018, 1:16pm UTC](https://discourse.cakephp.org/t/which-html-purifier-for-forms-plugin/4698/2 "2018-08-13T13:16:15Z")

</div>

Why not fork that one and migrate it? Taking a quick look it seems like it’ll be very easy.

---

<div class="post-metadata">

**Author:** ![dakota](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/dakota/32/1421_2.png) [@dakota](https://discourse.cakephp.org/u/dakota)\
**Post date:** [August 13, 2018, 1:17pm UTC](https://discourse.cakephp.org/t/which-html-purifier-for-forms-plugin/4698/3 "2018-08-13T13:17:01Z")

</div>

I see it has already been migrated actually. See [https://github.com/chrisShick/CakePHP3-HtmlPurifier/tree/v2](https://github.com/chrisShick/CakePHP3-HtmlPurifier/tree/v2)

---

<div class="post-metadata">

**Author:** ![Kitcat711](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@Kitcat711](https://discourse.cakephp.org/u/Kitcat711)\
**Post date:** [August 13, 2018, 3:30pm UTC](https://discourse.cakephp.org/t/which-html-purifier-for-forms-plugin/4698/4 "2018-08-13T15:30:18Z")

</div>

Thanks dakota for your answer.  
I missed it because I was checking only the master branch!.  
I made my composer accept the install with the v2 branch =

> {require : “chrisshick/cakephp3-html-purifier”: “v2.x-dev”}

Thanks again, just need to watch for the merge to the master
