Skip to content

v8 composer problem #62

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

Open
kw-pr opened this issue Nov 11, 2024 · 4 comments
Open

v8 composer problem #62

kw-pr opened this issue Nov 11, 2024 · 4 comments

Comments

@kw-pr
Copy link

kw-pr commented Nov 11, 2024

I can not install v8 because of this compose problem:

  Problem 1
    - Root composer.json requires langleyfoxall/laravel-nist-password-rules ^8.0 -> satisfiable by langleyfoxall/laravel-nist-password-rules[v8.0.0].
    - langleyfoxall/laravel-nist-password-rules v8.0.0 requires divineomega/laravel-password-exposed-validation-rule ^4.0 -> found divineomega/laravel-password-exposed-validation-rule[dev-master, v1.0.0, ..., v1.2.3, v2.0.0, ..., v2.5.0] but it does not match the constraint.

Maybe in composer.json you need to require

langleyfoxall/laravel-password-exposed-validation-rule

instead of

divineomega/laravel-password-exposed-validation-rule.

@ORN-Fox
Copy link

ORN-Fox commented Apr 1, 2025

Hi, i created a Pull Request for change this : #66

@rolfvandekrol
Copy link

I suppose the author uses their fork of that package on https://github.com/langleyfoxall/laravel-password-exposed-validation-rule. I don't think that is a green flag for security package like this.

@ORN-Fox
Copy link

ORN-Fox commented Apr 9, 2025

Ok, divineomega/laravel-password-exposed-validation-rule not have tag 4.0, so we have to change to use the 4.0 of the module provided by langleyfoxall/laravel-password-exposed-validation-rule ??

Otherwise, we always get an error that the package does not exist!

@rolfvandekrol
Copy link

Warning

I don't think this is good idea, but it should work.

What you potentially could do, is adding this to your composer.json.

    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/langleyfoxall/laravel-password-exposed-validation-rule"
        }
    ],

With this change you instruct composer to prefer the package from their repository instead of the official package. If you add this to composer.json, you should be able to do this.

composer require langleyfoxall/laravel-nist-password-rules

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

3 participants