PHPackages                             kaankilic/wtfilter - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. kaankilic/wtfilter

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

kaankilic/wtfilter
==================

What The Filter is Profinaity Filter for Laravel

2.0.3(7y ago)53.3kMITPHP &gt;=5.5.9

Since Sep 20Compare

[ Source](https://github.com/kaankilic/wtfilter)[ Packagist](https://packagist.org/packages/kaankilic/wtfilter)[ RSS](/packages/kaankilic-wtfilter/feed)WikiDiscussions Synced today

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

[![WTFilter](https://github.com/kaankilic/wtfilter/raw/master/wtfilter.png)](https://github.com/kaankilic/wtfilter/raw/master/wtfilter.png)

 [![Build Status](https://camo.githubusercontent.com/0e74109243cd92067b273edb11201a59ba1483473eb9d5617a252069f87b92c9/68747470733a2f2f7472617669732d63692e6f72672f6b61616e6b696c69632f777466696c7465722e737667)](https://travis-ci.org/kaankilic/wtfilter) [![Total Downloads](https://camo.githubusercontent.com/1f33a254b0441429ea4a571642630e2c6f5fdbaa5f9e8e4060818cf249c4f428/68747470733a2f2f706f7365722e707567782e6f72672f6b61616e6b696c69632f777466696c7465722f642f746f74616c2e737667)](https://packagist.org/packages/kaankilic/wtfilter) [![Latest Stable Version](https://camo.githubusercontent.com/fcd91d77c9b7503f26bc3f3a684b64c5c860546d09f77833e16a378223496881/68747470733a2f2f706f7365722e707567782e6f72672f6b61616e6b696c69632f777466696c7465722f762f737461626c652e737667)](https://packagist.org/packages/kaankilic/wtfilter) [![License](https://camo.githubusercontent.com/f94708ea1dfa2b48aef57568ef3d08a00290464d2323b923e0215c48d6b68f0f/68747470733a2f2f706f7365722e707567782e6f72672f6b61616e6b696c69632f777466696c7465722f6c6963656e73652e737667)](https://packagist.org/packages/kaankilic/wtfilter)

Introduction
------------

[](#introduction)

`WTFilter` provides an expressive and fluent way to filter profanities from the content with using it's own engine. `WTFilter` is the simplest stable profanity filter for Laravel.

License
-------

[](#license)

Laravel WTFilter is open-sourced software licensed under the [MIT](http://opensource.org/licenses/MIT)

Official Documentation
----------------------

[](#official-documentation)

It's simplest way of filtering profanities with the capabilities of Language form. You can set multilangual profanities on each language that you are using on your Laravel project.

### Installation

[](#installation)

To get started with WTFilter, use Composer to add the package to your project's dependencies:

```
composer require kaankilic/wtfilter
```

After installing the `WTFilter` library, register the `Kaankilic\WTFilter\Providers\WTFilterServiceProvider` in your `config/app.php` configuration file:

```
Kaankilic\WTFilter\Providers\WTFilterServiceProvider::class,
```

Also, add the `WTFilter` facade to the `aliases` array in your `app` configuration file:

```
'WTFilter' => Kaankilic\WTFilter\Facades\WTFilter::class
```

Lastly, Publish the config and language files.

```
php artisan vendor:publish --provider="Kaankilic\WTFilter\Providers\WTFilterServiceProvider"
```

This command will generate the configrations on your `/config` folder, and generate the default `language` folder on your project.

### Basic Usage

[](#basic-usage)

```
