barryvdh / laravel-ide-helper

IDE Helper for Laravel
MIT License
14.17k stars 1.16k forks source link

Version conflict with Laravel 9 #1489

Closed enikeishik closed 9 months ago

enikeishik commented 10 months ago

Versions:

Description:

Version conflict with doctrine/dbal via nesbot/carbon.

Steps To Reproduce:

Fix

Use nesbot/carbon v2.71.0 - composer require nesbot/carbon:~2.71.0 before composer require barryvdh/laravel-ide-helper.

ivan-odintsov commented 10 months ago

The same for Laravel Framework 10.35.0

sail@a7070c02bf49:/var/www/html$ composer require --dev barryvdh/laravel-ide-helper ./composer.json has been updated Running composer update barryvdh/laravel-ide-helper Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

You can also try re-running composer require with an explicit version constraint, e.g. "composer require barryvdh/laravel-ide-helper:*" to figure out if any version is installable, or "composer require barryvdh/laravel-ide-helper:^2.1" if you know which you need.

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

mfn commented 9 months ago

Duplicate of https://github.com/barryvdh/laravel-ide-helper/issues/1490

Technically this issue was created earlier, but the other one has the details nicer prepared.