{"id":33203108,"url":"https://github.com/DivineOmega/laravel-password-exposed-validation-rule","last_synced_at":"2025-11-21T03:02:49.750Z","repository":{"id":31985295,"uuid":"131214375","full_name":"DivineOmega/laravel-password-exposed-validation-rule","owner":"DivineOmega","description":"🔒 Laravel validation rule that checks if a password has been exposed in a data breach.","archived":false,"fork":false,"pushed_at":"2023-01-31T13:39:54.000Z","size":66,"stargazers_count":89,"open_issues_count":3,"forks_count":37,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-05-25T10:04:18.213Z","etag":null,"topics":["data-breach","laravel","laravel-5-package","laravel-validation","passwords","php","security"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/DivineOmega.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-04-26T21:49:38.000Z","updated_at":"2025-05-21T14:24:01.000Z","dependencies_parsed_at":"2023-02-16T19:45:44.393Z","dependency_job_id":null,"html_url":"https://github.com/DivineOmega/laravel-password-exposed-validation-rule","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/DivineOmega/laravel-password-exposed-validation-rule","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Flaravel-password-exposed-validation-rule","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Flaravel-password-exposed-validation-rule/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Flaravel-password-exposed-validation-rule/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Flaravel-password-exposed-validation-rule/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DivineOmega","download_url":"https://codeload.github.com/DivineOmega/laravel-password-exposed-validation-rule/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DivineOmega%2Flaravel-password-exposed-validation-rule/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285548626,"owners_count":27190487,"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","status":"online","status_checked_at":"2025-11-21T02:00:06.175Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["data-breach","laravel","laravel-5-package","laravel-validation","passwords","php","security"],"created_at":"2025-11-16T09:00:32.855Z","updated_at":"2025-11-21T03:02:49.746Z","avatar_url":"https://github.com/DivineOmega.png","language":"PHP","funding_links":[],"categories":["Packages"],"sub_categories":["Authentication/Security"],"readme":"# 🔒 Laravel Password Exposed Validation Rule\n\nThis package provides a Laravel validation rule that checks if a password has been exposed in a data breach. It uses the haveibeenpwned.com passwords API via the [`divineomega/password_exposed`](https://github.com/DivineOmega/password_exposed) library.\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"assets/images/laravel-password-exposed.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/DivineOmega/laravel-password-exposed-validation-rule\"\u003e\u003c/a\u003e\u003cimg src=\"https://travis-ci.org/DivineOmega/laravel-password-exposed-validation-rule.svg?branch=master\" alt=\"Travis CI\"\u003e\u003c/a\u003e\n    \u003ca href='https://coveralls.io/github/DivineOmega/laravel-password-exposed-validation-rule?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/github/DivineOmega/laravel-password-exposed-validation-rule/badge.svg?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n    \u003ca href=\"https://styleci.io/repos/131214375\"\u003e\u003cimg src=\"https://styleci.io/repos/131214375/shield?branch=master\" alt=\"StyleCI\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://packagist.org/packages/divineomega/laravel-password-exposed-validation-rule/stats\"\u003e\u003cimg src=\"https://img.shields.io/packagist/dt/divineomega/laravel-password-exposed-validation-rule.svg\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\nTo install, just run the following Composer command.\n\n```\ncomposer require divineomega/laravel-password-exposed-validation-rule\n```\n\nPlease note that this package requires Laravel 5.1 or above.\n\n## Usage\n\nThe following code snippet shows an example of how to use the password exposed validation rule.\n\n```php\nuse DivineOmega\\LaravelPasswordExposedValidationRule\\PasswordExposed;\n\n$request-\u003evalidate([\n    'password' =\u003e ['required', new PasswordExposed()],\n]);\n```\n\nIf you wish, you can also set a custom validation message, as shown below.\n\n```php\nuse DivineOmega\\LaravelPasswordExposedValidationRule\\PasswordExposed;\n\n$request-\u003evalidate([\n    'password' =\u003e ['required', (new PasswordExposed())-\u003esetMessage('This password is not secure.')],\n]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDivineOmega%2Flaravel-password-exposed-validation-rule","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDivineOmega%2Flaravel-password-exposed-validation-rule","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDivineOmega%2Flaravel-password-exposed-validation-rule/lists"}