{"id":37005019,"url":"https://github.com/buchin/badwords","last_synced_at":"2026-01-14T00:39:26.295Z","repository":{"id":62497906,"uuid":"124089844","full_name":"buchin/badwords","owner":"buchin","description":"PHP Bad Words Detector","archived":false,"fork":false,"pushed_at":"2025-02-28T18:39:20.000Z","size":62,"stargazers_count":19,"open_issues_count":0,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-25T01:48:55.340Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buchin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-06T14:25:46.000Z","updated_at":"2025-08-11T12:07:56.000Z","dependencies_parsed_at":"2025-02-28T19:31:22.275Z","dependency_job_id":"44bf531f-0674-4137-ad26-7c143a140821","html_url":"https://github.com/buchin/badwords","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/buchin/badwords","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbadwords","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbadwords/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbadwords/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbadwords/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buchin","download_url":"https://codeload.github.com/buchin/badwords/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buchin%2Fbadwords/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406520,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-14T00:39:26.179Z","updated_at":"2026-01-14T00:39:26.278Z","avatar_url":"https://github.com/buchin.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# buchin/badwords\nPHP bad words detector \n\n## Installation\n```bash\ncomposer require buchin/badwords dev-master\n```\n\n## Usage\n```php\n\u003c?php\nuse Buchin\\Badwords\\Badwords;\n\nBadwords::isDirty('Blood sugar sex magic');\n\n/*\nwhen string contains bad words, it returns true\nExample result:\n(boolean) true \n*/\n\nBadwords::negationCheck(\"You are not an asshole\");\n/*\nWhen string contains a negator like not, aren't, etc before the offensive word\nit returns 0\nOutput:\n-1 means NOT FOUND\n0 means found with a negator before the offensive word (Neutral)\n1 means offensive word was found\n\nNote: The negator can appear before an article just like the example above, or directly before the bad word\nE.g of articles: \"a\", \"an\", \"the\"\n*/\n\nBadwords::strip('Blood sugar sex magic');\n\n/*\ngiven string contains bad words, it replaces vocal chars in bad word with asterix\nExample result:\n(string) \"Blood sugar s*x magic\" \n*/\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuchin%2Fbadwords","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuchin%2Fbadwords","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuchin%2Fbadwords/lists"}