-
Notifications
You must be signed in to change notification settings - Fork 110
Composer conflict in a laravel project #88
Comments
@mathieutu My guess is this has to do with #76, which we are going to fix going forward. I MAY be able to also back-release Collect for 5.6.1, 5.6.2, and 5.6.3, which would fix this problem. I'll take a look ASAP. |
@mathieutu, Collect has no requirement ties with Laravel. Your problem is probably related to something else you have installed. So I tried installing only your package: And then required the Framework: As you can see, it's all good, it even installed the newly released laravel/framework 5.6.5. |
Sorry, scratch that. I was able to reproduce your problem, which keeps making no sense. The only tie with Laravel was the |
@mathieutu, @mattstauffer just upgraded it to 5.6.5, and I did a test here with your package and it works fine now. |
Yeah no problem like that too.
|
Sorry didn't see your previous comments @antonioribeiro I think that if it happens to me, it should happens to others package maintainer that use collect. |
But as I said, if you |
Yeah, this dependency resolution is somehow broken. You can try to change the requirement to |
Opened an issue in Composer: composer/composer#7129 |
Ok, I've understood the problem with some similar issues in composer repo, you can check my comment here: composer/composer#7129 (comment) (I don't know where to continue the discussion now 😅) |
see composer/composer#3746 (comment) for the explanation about different versions. So to summarize if I've understood well, the collect package is not supposed to work anymore with laravel, because it can't be installed with different version. The fact we can install it in root is probably a bug. It's exactly the same think that if we try to install |
Yeah, yesterday I was almost sure it was the
If this is a feature and not a bug, we will have to think a way to make it work. |
Just sent a new PR to fix it, according this discussion: laravel/framework#23379 |
@antonioribeiro is this good and close-able? |
Yeah, I think it's definitely fixed now, please close. |
I am discover that i am download wronge file for php_mongodb that's for later verison of php Check that the php_mongodb.dll is for your php version |
You'll want to make sure you upgrade both the web and cli versions of php to 7.1.2. A lot of times people will only upgrade the web version (and composer will then allow the install), but laravel uses both. |
Hi, it's me again!
After some problems in sf projects, I've them now during a Laravel update.
In fact:
In
mathieutu/exporter
v2.0.0 I'm requiringtightenco/collect
^5.6 : https://github.com/mathieutu/exporter/blob/master/composer.json.With this package in a Laravel project, I can't update
laravel/framework
to 5.6.4 (where the change of collect replace was done):If I require tightenco/collect in my root project, it's fine, and I can update. If I remove it, laravel is downgraded to 5.6.3.
Do you guys have any idea of where the problem could come from??
Thank you for your help.
The text was updated successfully, but these errors were encountered: