Skip to content

Better Passport install instructions in Laravel Passport docs for L6 LTS #1391

@meredevelopment

Description

@meredevelopment

Seeing that Laravel 6 is still - at the time of writing - the LTS version, I think the Laravel Passport docs should specify the version of Passport that is supported.

If users follow the current docs and do composer require laravel/passport they will end up with a "Your requirements could not be resolved to an installable set of packages." error.

Would it be a good idea to add a note, or suggest that L6 users run composer require laravel/passport "^9.0"?
Or is there a better version / way to deal with this? I see a LOT of questions about this problem/error on Stack Exchange, here, Laracasts etc.

Happy to PR the docs, but wanted opinions first please.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions