لا تحتوي الحزمة على قائمة كلمات محظورة افتراضية، لأن هذه القوائم تختلف حسب المشروع واللهجة والسياق.
Arabic::containsBadWords($text, ['blocked_one', 'blocked_two']);Arabic::containsBadWords($text, resource_path('profanity/blocked.txt'));{
"words": ["blocked_one"],
"files": ["/absolute/path/to/more.txt"]
}'comment' => ['nullable', new NoBadWords()],
'comment' => ['nullable', new NoBadWords(['blocked_one'])],
'comment' => ['nullable', new NoBadWords(resource_path('profanity/blocked.txt'))],