PHPackages                             maritho/badword - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. maritho/badword

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

maritho/badword
===============

package filter badwords filter

0.0.1(6y ago)115MITPHP

Since Dec 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Maritho/badword)[ Packagist](https://packagist.org/packages/maritho/badword)[ RSS](/packages/maritho-badword/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Badword Filter Laravel
======================

[](#badword-filter-laravel)

### Requirements

[](#requirements)

- [Laravel &gt;=5.7](https://laravel.com/)
- [PHP &gt;= 7.1](https://www.php.net/)

### Installation

[](#installation)

`composer require maritho/badword`

### Configure

[](#configure)

so you **either** you have to add the service provider:

```
'providers' => [
    ...,
    \Maritho\Badword\BadwordServiceProvider::class,
]

```

### Publish and Migrate

[](#publish-and-migrate)

- `php artisan vendor:publish --provider="Maritho\Badword\BadwordServiceProvider"`
- `php artisan migrate`
- `php artisan db:seed --class="Maritho\Badword\Database\Seeds\BadwordTableSeeder"`

### Usage

[](#usage)

```
