Skip to content

Requires php-http/message which requires php-http/message-factory which is abandoned #16

Description

@mr-joery

I'm trying to use geo6/geocoder-php-bpost-provider in my Drupal project as a provider for geocoder.
I can add this package to my composer and add Bpost as a geocoder provider.
However, when I do that, I get error:

Error: Interface "Http\Message\MessageFactory" not found in Geocoder\Http\Provider\AbstractHttpProvider->getMessageFactory()
Geocoder\Provider\bpost\bpost->executeQuery() (Line: 113)
Geocoder\Provider\bpost\bpost->geocodeQuery() (Line: 65)

I think its because of in composer.json it requires php-http/message.
If I go to that github I see that in their latest stable release (v1.7.1) they include php-http/message-factory:

    "require": {
        "php": "^5.4 || ^7.0",
        "psr/http-message": "^1.0",
        "php-http/message-factory": "^1.0.2",
        "clue/stream-filter": "^1.4"
    },

(not in their latest 1.x branch)

php-http/message-factory is archived and abandoned (see https://packagist.org/packages/php-http/message-factory).
I think that causes the problems I'm seeing

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