PHPackages                             nexuslinkservices/abuse-keyword-purifier - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. nexuslinkservices/abuse-keyword-purifier

ActiveLibrary

nexuslinkservices/abuse-keyword-purifier
========================================

v1.2.2(9y ago)029MITPHPPHP &gt;=5.6.2

Since Sep 6Pushed 9y ago1 watchersCompare

[ Source](https://github.com/nexuslinkservices/abuse-keyword-purifier)[ Packagist](https://packagist.org/packages/nexuslinkservices/abuse-keyword-purifier)[ RSS](/packages/nexuslinkservices-abuse-keyword-purifier/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

abuse-keyword-purifier
======================

[](#abuse-keyword-purifier)

Replace or remove abuse keywords from content.

[![Latest Version](https://camo.githubusercontent.com/41dab575992c7fa75d56e481fa7de29d86414d9255998561ad23ad3a2ba78387/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e657875736c696e6b73657276696365732f61627573652d6b6579776f72642d70757269666965722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nexuslinkservices/abuse-keyword-purifier)[![Software License](https://camo.githubusercontent.com/30597ff9a350144f03bffdd9183e16468e0b3ca1193e1d08591d992622738d55/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b4ca8c1487ee379802540dffc7bc9d21e761307e8f5750414fe7138a7067d5c7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e657875736c696e6b73657276696365732f61627573652d6b6579776f72642d70757269666965722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nexuslinkservices/abuse-keyword-purifier/?branch=master)[![Build Status](https://camo.githubusercontent.com/e23822999d06b4ce29916ffd6df0df3698c9dc1437bf8d97dbbd20625b450430/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e657875736c696e6b73657276696365732f61627573652d6b6579776f72642d70757269666965722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/nexuslinkservices/abuse-keyword-purifier/build-status/master)

Installation
------------

[](#installation)

If you use composer, you can add this package by running

```
composer require galiteintechnologies/abuse-keyword-purifier

```

Usage
-----

[](#usage)

Create configuration file with bad words list and character with which you want to replace bad words. For ex.

```
profanities:
    replace_with: '*'
    bad_words: ['abuser', 'bitch', 'bitcher']

```

If you want to remove bad words from content then just leave replace\_with field with balnk value for ex. replace\_with: ''

If you do not create configuration file then it will use provided by package which includes all the bad words list.

Example usage:

```
