developerdino / ProfanityFilter

A simple PHP class to test if a string has a profanity in it.
69 stars 27 forks source link

Update feature #41

Open arif-rh opened 4 years ago

arif-rh commented 4 years ago

Actually this cleanWords can be implemented to solve issue #20 but to give the backward compability with old version, I make it as new feature

developerdino commented 4 years ago

Thanks @arif-rh, I'll have a look at this later today to see if we can get it in. I'm thinking probably as version 2 release feature so that we don't have to have a separate function call.

arif-rh commented 4 years ago

Yeah, I could understand it. So while waiting the version 2, I have made my version with this feature and also adding whitelist for fixing #21 .

Should I closed this?

rjworks commented 4 years ago

Typing fuck1 or anything with profane word bypasses the filter.