Skip to content

master composer conflict with orchestral/testbench-core #54754

@iluuu1994

Description

@iluuu1994

Laravel Version

13.x-dev (master)

PHP Version

8.2+

Database Driver & Version

No response

Description

Hi! We're testing Laravel in PHPs nightly build. Since the Laravel 13.x branching, we're running into composer conflicts:

https://github.com/php/php-src/actions/runs/13478446360/job/37660589525

 Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/framework is present at version 13.0.x-dev and cannot be modified by Composer
    - Root composer.json requires orchestra/testbench-core ^10.0 -> satisfiable by orchestra/testbench-core[10.0.x-dev, 10.x-dev].
    - orchestra/testbench-core[10.0.x-dev, ..., 10.x-dev] conflict with laravel/framework <12.0.0 || >=13.0.0.

I see that Laravel currently fixes this by re-setting the version to 12.x-dev.

- name: Set Framework version
run: composer config version "12.x-dev"

Bumping vendor versions would be an additional maintenance burden for us, is it possible to avoid this? We've never ran into this issue for previous versions of Laravel. We could switch to the default branch (11.x at this time), although we sometimes catch new errors earlier for development branches.

Thank you!

Steps To Reproduce

git clone https://github.com/laravel/framework.git laravel --branch=master --depth=1
cd laravel
composer install --no-progress --ignore-platform-reqs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions