PHPackages                             laravel-validation-rules/offensive - 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. laravel-validation-rules/offensive

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

laravel-validation-rules/offensive
==================================

Metapackage for https://github.com/DivineOmega/laravel-offensive-validation-rule

v1.1.0(8y ago)49

Since May 9Pushed 3w agoCompare

[ Source](https://github.com/laravel-validation-rules/offensive)[ Packagist](https://packagist.org/packages/laravel-validation-rules/offensive)[ RSS](/packages/laravel-validation-rules-offensive/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (1)Versions (3)Used By (0)

Laravel Validator Rules - Offensive
===================================

[](#laravel-validator-rules---offensive)

This metapackage installs the maintained rule that validates that a field is not offensive. It can be useful for user-supplied data that may be displayed publicly, such as usernames or comments.

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

[](#installation)

```
composer require laravel-validation-rules/offensive
```

Usage
-----

[](#usage)

```
use JordJD\LaravelOffensiveValidationRule\Offensive;

$request->validate([
    'username' => ['required', new Offensive],
]);
```

You can also provide custom offensive-word blacklists and whitelists. See the [maintained package documentation](https://github.com/Jord-JD/laravel-offensive-validation-rule#readme) for the current extension points.

Version 2 of this metapackage uses the current `jord-jd/laravel-offensive-validation-rule` package and namespace. Applications that still use the legacy `DivineOmega` namespace should remain on version 1 until they are ready to update the import.

License
-------

[](#license)

This project is licensed under a GNU Lesser General Public License v3.0 which you can find [in this LICENSE](https://github.com/laravel-validation-rules/exposed-password/blob/master/LICENSE).

Feedback
--------

[](#feedback)

If you have any feedback, comments or suggestions, please feel free to open an issue within this repository.

Laravel Validation Rules
------------------------

[](#laravel-validation-rules)

This package is part of the Laravel Validation Rules collection. If you're after more useful validation rules, head to the [Laravel Validation Rules](https://laravel-validation-rules.github.io/) website.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance62

Regular maintenance activity

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3018d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

![](https://avatars.githubusercontent.com/u/254889?v=4)[Scott](/maintainers/ssx)[@ssx](https://github.com/ssx)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (4 commits)")[![ssx](https://avatars.githubusercontent.com/u/254889?v=4)](https://github.com/ssx "ssx (1 commits)")

---

Tags

laravellaravel-5-packagelaravel-validationoffensiveoffensive-languagephp

### Embed Badge

![Health badge](/badges/laravel-validation-rules-offensive/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-validation-rules-offensive/health.svg)](https://phpackages.com/packages/laravel-validation-rules-offensive)
```

###  Alternatives

[toplan/laravel-sms

A mobile phone number validation solution based on laravel

83580.2k2](/packages/toplan-laravel-sms)[hyperf/validation

hyperf validation

122.2M213](/packages/hyperf-validation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
