waad/laravel-profanity-filter
Look Here If:
Look Elsewhere If:
php-profanity-filter or Node.js solutions."This package lets us automatically block offensive language in user content—saving us from compliance fines, brand damage, and manual moderation costs. For example, if we launch a global forum, we’d need to filter profanity in 5+ languages without hiring a team to maintain custom rules. It integrates smoothly with our Laravel stack, reducing dev time by 70% compared to building from scratch. The MIT license means no hidden costs, and it’s already battle-tested in production. Let’s use it to preempt moderation headaches while keeping our public-facing content safe."
Key Metrics to Highlight:
*"This is a drop-in Laravel package that handles profanity filtering with zero setup for basic use cases. Key features:
h3ll0 → blocked).Implementation Examples:
// Middleware: Auto-filter all incoming requests
$router->middleware('profanity');
// Form Request: Validate user input
public function rules() {
return ['comment' => 'profanity'];
}
// Custom Word List
config([
'profanity-filter' => [
'words' => ['custom_banned_term'],
'languages' => ['en', 'es'],
],
]);
Trade-offs:
Next Steps:
Alternatives Considered:
How can I help you explore Laravel packages today?