but it conflicts with another require ... but it conflicts with another require
- Dominant language
- PHP
- Stars
- 103
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
PHP 7.3.21
Laravel 8.17.2
ways to reproduce:
`composer create-project --prefer-dist laravel/laravel my-project`
`composer require botman/tinker`
I get error:
```
$ composer require botman/tinker
Using version ^1.2 for botman/tinker
./composer.json has been updated
Running composer update botman/tinker
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires botman/tinker ^1.2 -> satisfiable by botman/tinker[1.2.0].
- botman/tinker 1.2.0 requires illuminate/support ~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6.0 || ^7.0 -> found illuminate/support[v5.5.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with another require.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
```
Thanks in advance for help.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the conflict with the two Composer commands in the issue, then inspect botman/tinker's dependency declaration and the Laravel project's composer.json. Confirm the required package versions and determine whether the package can install on Laravel 8.17.2 without a dependency conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- laravel, php
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100