pestphp/pest-plugin-profanity
Pest Profanity plugin helps enforce clean language in your test suite by detecting and preventing profanity in test names and output. Simple to install and use with Pest to keep your codebase and CI logs professional.
Architecture fit: This plugin is designed for use within PestPHP testing frameworks, making it ideal for Laravel projects that have adopted Pest as their test runner (replacing PHPUnit). It integrates seamlessly into the testing layer for validating user-generated content, logs, or other text inputs during test execution. Since Laravel supports Pest as an official alternative testing tool, the architecture aligns well for teams already using Pest. However, it is not applicable for PHPUnit-based projects without migration.
Integration feasibility: High. Installation via composer require pestphp/pest-plugin-profanity is straightforward, and usage requires minimal code changes (e.g., expect($text)->notToContainProfanity()). The plugin leverages Pest’s existing assertion system, requiring no infrastructure changes. Documentation is clear and consistent with Pest’s ecosystem.
Technical risk: Low-to-moderate. While maintained by PestPHP core contributors (e.g., Nuno Maduro), the package has zero direct dependents and limited adoption (101 stars), suggesting limited real-world validation. Risks include potential false positives/negatives due
How can I help you explore Laravel packages today?