v1.0.0 Stable Release

Content Sanitization
Reimagined for Indonesia.

The ultimate PHP library to filter online gambling spam, profanity, and toxicity. Powered by a Smart Regex Engine that detects leet speak patterns natively.

$composer require heyitsmi/indo-guard
Read Documentation

Interactive Playground

Test the sanitation engine in real-time. No server required.

Engine Online
Input StreamRaw Text
Sanitized StreamClean
Latency: <2msMemory: 12KB
v1.1.0

Why `str_replace` isn't enough.

Spammers in Indonesia are creative. They use numbers, symbols, and mixed casing to bypass traditional filters. IndoGuard is built to catch them all.

Smart Leet Speak Engine

Automatically detects complex obfuscation patterns.

s10t g4c0r
slot gacor

Hyper-Local Dictionary

Curated database containing thousands of Indonesian-specific terms: gambling slang, regional profanity, and spam keywords.

Laravel Native

First-class citizen in Laravel ecosystem. Includes Service Provider, Facade, and publishable configuration files.

Zero Latency Overhead

Runs locally on your server. No external API calls, no per-request billing, no data privacy risks. Optimized for high-traffic applications.

Seamless Integration

Whether you use Laravel or native PHP, setup takes less than 30 seconds.

// 1. In your Controller or Middleware
use Heyitsmi\IndoGuard\Facades\IndoGuard;

public function store(Request $request)
{
$input = $request->input('comment');

// Check for bad content
if (IndoGuard::hasBadWords($input)) {
return back()->withErrors(['msg' => 'Spam detected!']);
}

// Or sanitize it automatically
$clean = IndoGuard::sanitize($input);
}

Built for diverse applications

Community Forums

Keep discussions clean from toxicity and hate speech.

E-Commerce

Prevent gambling bots from spamming your product reviews.

Gaming Portals

Filter out "joki" and "topup" spam in chat rooms.

Comment Systems

Automated moderation for blogs and news portals.

Frequently Asked Questions