Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decouple this package from laravel #39

Open
staabm opened this issue Jan 29, 2021 · 3 comments
Open

decouple this package from laravel #39

staabm opened this issue Jan 29, 2021 · 3 comments

Comments

@staabm
Copy link

staabm commented Jan 29, 2021

I would love to use the nist-password-rules part of this package in applications which are not built on laravel.

do you think it would be possible to devide this package into 2 parts.. one only containg of the nist-password-rules part and another one which bridges this nist-password-rules with laravel?

@alyaspk
Copy link

alyaspk commented Feb 17, 2022

+1

@LNCH
Copy link
Contributor

LNCH commented May 17, 2022

This is an interesting idea for sure!

I'll put some thought into this, might be a good idea to split this package like you suggest.

@nesl247
Copy link

nesl247 commented Nov 2, 2023

I too would love this. I just spent time porting this to Symfony. Even if it's the same package, and doesn't have a hard dependency on laravel (use suggests instead?), that would be fine. The rules really aren't dependent upon Laravel other than using it's signature. It could be extracted to a separate namespace, one for the laravel rule integration which depends upon the agnostic implementation for checking a password against a rule.

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

No branches or pull requests

4 participants