{"id":15025068,"url":"https://github.com/schuppo/passwordstrengthpackage","last_synced_at":"2025-05-16T15:08:54.425Z","repository":{"id":13322442,"uuid":"16009221","full_name":"schuppo/PasswordStrengthPackage","owner":"schuppo","description":"This package provides a validator for ensuring strong passwords in Laravel applications","archived":false,"fork":false,"pushed_at":"2024-03-02T02:46:02.000Z","size":137,"stargazers_count":145,"open_issues_count":4,"forks_count":54,"subscribers_count":5,"default_branch":"2.x","last_synced_at":"2025-05-16T15:08:41.513Z","etag":null,"topics":["laravel","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sears/bLSM","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schuppo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-17T19:18:27.000Z","updated_at":"2025-05-05T15:46:21.000Z","dependencies_parsed_at":"2023-02-18T12:16:24.810Z","dependency_job_id":"751679f4-0eff-4d66-b44f-e822a89bae86","html_url":"https://github.com/schuppo/PasswordStrengthPackage","commit_stats":{"total_commits":133,"total_committers":29,"mean_commits":4.586206896551724,"dds":"0.40601503759398494","last_synced_commit":"ebaf2a830778a3fe0544873aa567d3318d7370e9"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schuppo%2FPasswordStrengthPackage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schuppo%2FPasswordStrengthPackage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schuppo%2FPasswordStrengthPackage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schuppo%2FPasswordStrengthPackage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schuppo","download_url":"https://codeload.github.com/schuppo/PasswordStrengthPackage/tar.gz/refs/heads/2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254553958,"owners_count":22090417,"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","php"],"created_at":"2024-09-24T20:01:28.596Z","updated_at":"2025-05-16T15:08:49.388Z","avatar_url":"https://github.com/schuppo.png","language":"PHP","readme":"PasswordStrength Package\n================\n![Build Status](https://github.com/schuppo/PasswordStrengthPackage/actions/workflows/unit_test.yml/badge.svg)\n[![Total Downloads](https://poser.pugx.org/schuppo/password-strength/downloads)](https://packagist.org/packages/schuppo/password-strength)\n[![License](https://poser.pugx.org/schuppo/password-strength/license)](https://packagist.org/packages/schuppo/password-strength)\n\nThis package provides a validator that ensures strong passwords in Laravel 4 - 9 applications. It is influenced  a lot by [PasswordStrengthBundle for Symfony 2](https://github.com/jbafford/PasswordStrengthBundle).\n\nIt is out now for a while and since there were no complaints it very likely fulfills its purpose.\n\nThe provided validations include:\n\n- check if input contains alphabetic characters\n- check if input contains numeric characters\n- check if input contains mixed case characters\n- check if input contains symbols\n\n# Documentation\n\n## Installation\n\n### Get the package\n\n**For Laravel 6 - 9 users**\n\u003e Requires PHP 7.1+\n\nJust ```composer require schuppo/password-strength:\"~2.0\"```.\n\n**For Laravel 5/6 users**\n\nJust ```composer require schuppo/password-strength:\"~1.5\"```.\n\n**For Laravel 4 users**\n\nJust ```composer require schuppo/password-strength:\"~0.10\"```.\n\n### Initialize the package\n\n\u003e If you do run the package on Laravel 5.5+, you can start using the package at this point. [package auto-discovery](https://medium.com/@taylorotwell/package-auto-discovery-in-laravel-5-5-ea9e3ab20518) takes care of the magic of adding the service provider.\n\n**Caution**\n\nI recognized a small conflict in the usage of this package in combination with [unique-with](https://github.com/felixkiss/uniquewith-validator): One runs into problems when adding the ```PasswordStrengthServiceProvider``` **after** ```UniqueWithValidatorServiceProvider``` to the providers array, the  rules of this package stay unknown to the Laravel ```Validator```.\n\nThe problem is easy to fix though: Just add the service provider of this package in front of the service provider of *unique-with*. In that order both packages work fine.\n\n## Usage\nNow Laravel's native `Validator` is extended by four rules:\n\n- case_diff\n- numbers\n- letters\n- symbols\n\n### Example\nYou can apply these rules as described in the [validation section on Laravel's website](http://laravel.com/docs/validation)\n\n```php\n$v = Validator::make(array(\n    'password' =\u003e '12345QWERTqwert@',\n    'password' =\u003e 'case_diff|numbers|letters|symbols'\n));\n$v-\u003epasses();   // returns true;\n```\n\nNotice that you can validate any value with the new rules. The only reason why this package is called \"Password Strength Package\" is that it describes its foremost purpose.\n\n# History\n\n**[Laravel 6 - 9]**\n\n**[2.6]**\n\n- Added Thai translation\n\n**[2.5]**\n\n- Added support for Laravel 9\n\n**[2.4]**\n\n- Added Finish and Italian translations\n\n\n**[2.3]**\n\n- Added Swedish and Norwegian translations\n\n\n**[2.2]**\n\n- Added support for Laravel 8\n\n\n**[Laravel 6 / Laravel 7 ]**\n\n**[2.1]**\n\n- Added Turkish translation\n\n**[2.0]**\n\n- Laravel 7 support.\n- Minimum PHP requirement now 7.1\n- Changes folder structure, psr-4 autoload.\n- Updates Travis CI config to test multiple Laravel versions.\n- Support for higher PHPUnit versions.\n- `orchestra/testbench` dev dependency added.\n\n**[Laravel 5 / Laravel 4]**\n\n**[1.13/-]**\n\nRemoves need for Str facace\n\n**[1.12/-]**\n\nEnables Laravel 6 support\n\n**[1.11/-]**\n\nSimplifies symbol validation\n\n**[1.10/0.15]**\n\nAdds Chinese and Spanish translation \n\n**[1.9/0.14]**\n\nImproves Polish translation\n\n**[1.8/0.13]**\n\nAdds Arabic translation\n\n**[1.7/0.12]**\n\nAdds Czech translation\n\n**[1.6/0.11]**\n\n- Adds Russian translation\n\n**[1.5/0.10]**\n\n- Adds unicode flag to case difference validation rule  \n\n**[1.4/0.9]**\n\n- Adds Dutch translation\n- Updates French translation\n- Makes packages php7 ready\n\n**[1.3/0.8.2]**\n\nAdds Romanian translation\n\n**[1.2/0.8.1]**\n\nAdds Polish translation\n\n**[1.1/0.8]**\n\nAdds French translation\n\n**[1.0.2/0.7]**\n\nUpdates README.md\n\n**[1.0.1]**\n\nMake package laravel 5 ready\n\n**[0.6]**\n\n- New validation rule to check if input contains symbols. Thanks to [closca](https://github.com/closca) for providing this new feature.\n\n**[0.5.3]**\n\n- Added new version to composer.json\n\n**[0.5.2]**\n\n- Small changes in README.md\n\n**[0.5.1]**\n\n- Minimum requirement (PHP 5.4 because of array chains) is now recognized by composer.json\n\n**[0.4.1]**\n\n- The package works properly now when other extensions of laravel's validator are used as well (like [unique-with](https://github.com/felixkiss/uniquewith-validator)).\n- The package is able to take localization overwrites now as described in the [laravel docs](http://laravel.com/docs/localization#overriding-package-language-files)\n\n**[0.3.1]**\n\n- Fixed: Package validator doesn't overwrite custom validation errror messages any more. Not functional tested though because I have no clue how to set up a test which controls the passing of variables from the password strength package to the native validator INSIDE the package's test folders. Any suggestions?\n\n# License\n\nThis package is under the MIT license. See the complete license:\n\n- [LICENSE](https://github.com/schuppo/PasswordStrengthPackage/LICENSE)\n\n\n## Reporting Issues or Feature Requests\n\nIssues and feature requests are tracked on [GitHub](https://github.com/schuppo/PasswordStrengthPackage/issues).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschuppo%2Fpasswordstrengthpackage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschuppo%2Fpasswordstrengthpackage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschuppo%2Fpasswordstrengthpackage/lists"}