Skip to content

Compatibility Concern: psr/http-message v1/v2 Conflict with Laravel Passport #16

@wikichua

Description

@wikichua

Hello,

I hope this message finds you well.

I'm currently working on a project where I'm using php-mcp/laravel alongside laravel/passport. I've encountered a dependency conflict that I believe might be related to psr/http-message versions required by these two packages.

It appears that:

laravel/passport (through league/oauth2-server) requires psr/http-message ^2.0
php-mcp/laravel (through php-mcp/server and react/http) requires psr/http-message ^1.0
This conflict prevents me from running composer update successfully.

I understand that php-mcp/laravel itself might not be the direct cause of this conflict, as it stems from its dependencies. However, I was wondering if you might have any insights or potential alternative solutions regarding this psr/http-message version discrepancy, especially as react/http is a dependency.

Perhaps there's a recommended way to handle such conflicts in projects integrating php-mcp/laravel with packages like laravel/passport, or if there's a plan to update underlying dependencies to support psr/http-message ^2.0 in the future.

Thank you for your time and any guidance you can provide.

Best regards,

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