{"id":13827943,"url":"https://github.com/laravel-validation-rules/offensive","last_synced_at":"2025-06-19T06:33:16.173Z","repository":{"id":57012095,"uuid":"132718440","full_name":"laravel-validation-rules/offensive","owner":"laravel-validation-rules","description":"This rule will validate that a field isn't offensive.","archived":false,"fork":false,"pushed_at":"2018-05-10T12:11:10.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-10T01:39:14.358Z","etag":null,"topics":["laravel","laravel-5-package","laravel-validation","offensive","offensive-language","php"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/laravel-validation-rules.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-09T07:26:39.000Z","updated_at":"2021-03-10T13:40:07.000Z","dependencies_parsed_at":"2022-08-21T13:40:50.253Z","dependency_job_id":null,"html_url":"https://github.com/laravel-validation-rules/offensive","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/laravel-validation-rules/offensive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-validation-rules%2Foffensive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-validation-rules%2Foffensive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-validation-rules%2Foffensive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-validation-rules%2Foffensive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laravel-validation-rules","download_url":"https://codeload.github.com/laravel-validation-rules/offensive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-validation-rules%2Foffensive/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260701908,"owners_count":23049140,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-5-package","laravel-validation","offensive","offensive-language","php"],"created_at":"2024-08-04T09:02:21.488Z","updated_at":"2025-06-19T06:33:11.157Z","avatar_url":"https://github.com/laravel-validation-rules.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Laravel Validator Rules - Offensive\n\nThis rule will validate that a field isn't offensive. It can be useful to check user supplied data that may be publicly displayed, such as usernames or comments.\n\n## Installation\n\n```bash\ncomposer require laravel-validation-rules/offensive\n```\n\n\n## Usage\n\n```php\nuse DivineOmega\\LaravelOffensiveValidationRule\\Offensive;\n\n$request-\u003evalidate([\n    'username' =\u003e ['required', new Offensive],\n]);\n```\n\nYou are also able to specifiy a custom offensive word blacklist and whitelist. If you wish\nto do this, check the [additional usage examples](https://github.com/DivineOmega/laravel-offensive-validation-rule#usage).\n\n## License\nThis project is licensed under a GNU Lesser General Public License v3.0 which you can find\n[in this LICENSE](https://github.com/laravel-validation-rules/exposed-password/blob/master/LICENSE).\n\n\n## Feedback\nIf you have any feedback, comments or suggestions, please feel free to open an\nissue within this repository.\n\n## Laravel Validation Rules\n\nThis 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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-validation-rules%2Foffensive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaravel-validation-rules%2Foffensive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaravel-validation-rules%2Foffensive/lists"}