Skip to content

Add support for customising the rule name for use with Laravel 6/7 - #10

Open
digistorm-developer wants to merge 1 commit into
joshralph93:masterfrom
digistorm:feature/laravel-6
Open

Add support for customising the rule name for use with Laravel 6/7#10
digistorm-developer wants to merge 1 commit into
joshralph93:masterfrom
digistorm:feature/laravel-6

Conversation

@digistorm-developer

Copy link
Copy Markdown

This allows the package to be used in Laravel 6/7 by allowing customisation of the rule name.
In Laravel 6 a password validation rule was added with different functionality: https://laravel.com/docs/6.x/validation#rule-password

To use the package with Laravel 6/7 publish the config file:

php artisan vendor:publish --provider="PasswordPolicy\Providers\Laravel\PasswordPolicyServiceProvider"

Then specify a different name for the rule in the config e.g. password_policy and it will fix #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Laravel 6

1 participant