Skip to content

Symfony 6.0.9 and PHP 8.1.0 -> can't composer install meilisearch/search-bundle #184

@shevabam

Description

@shevabam

Hello 👋

I'm using Symfony 6.0.9 with PHP 8.1.0.
When I run composer install meilisearch/search-bundle, I get these errors:

Using version ^0.7.2 for meilisearch/search-bundle
./composer.json has been updated
Running composer update meilisearch/search-bundle
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - illuminate/contracts[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.0) does not satisfy that requirement.
    - illuminate/contracts[v8.12.0, ..., v8.83.16] require psr/container ^1.0 -> found psr/container[1.0.0, 1.1.0, 1.1.1, 1.1.2] but the package is fixed to 2.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - meilisearch/search-bundle v0.7.2 requires illuminate/collections ^8.47 -> satisfiable by illuminate/collections[v8.47.0, ..., v8.83.16].
    - illuminate/collections[v8.47.0, ..., v8.83.16] require illuminate/contracts ^8.0 -> satisfiable by illuminate/contracts[v8.0.0, ..., v8.83.16].
    - Root composer.json requires meilisearch/search-bundle ^0.7.2 -> satisfiable by meilisearch/search-bundle[v0.7.2].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require meilisearch/search-bundle:*" to figure out if any version is installable, or "composer require meilisearch/search-bundle:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

From what I understand, meilisearch/search-bundle is not (yet) compatible with PHP 8.1 but [with version 8.0](https://github.com/meilisearch/meilisearch-symfony/blob/main/composer .json#L21).

Are there plans to make meilisearch/search-bundle compatible on PHP 8.1?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsupportIssues related to support questions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions