You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@antonioribeiro Is there a specific reason the tightenco/collect version is set to <5.5.33 ? This config seems to give some problems with packages that depend on higher tightenco/collect versions.
spatie/crawler depends on tightenco/collect:^5.6 and so it fails to install on projects with laravel/framework higher than 5.6.3.
The reason will be displayed to describe this comment to others. Learn more.
Laravel 5.6 should not replace Collect >=5.5.33, after the namespace change from Illuminate/Support to Tighenco/Collect, if Laravel ignores it during install, the namespace Tighenco/Collect will not be available.
So this replacement had to change in Laravel. It tells Composer to "do ignore the Collect requirement if the Collect version is below 5.5.33", because Collect's namespace will conflict with Illuminate's.
We have an issue about the installation problem: tighten/collect#88 and a question on Composer: composer/composer#7129, which is (kind of) understood, but still seems like a bug, since you are able install it, depending on the order you install the packages.
5caa88a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@antonioribeiro Is there a specific reason the
tightenco/collect
version is set to<5.5.33
? This config seems to give some problems with packages that depend on highertightenco/collect
versions.spatie/crawler
depends ontightenco/collect:^5.6
and so it fails to install on projects withlaravel/framework
higher than5.6.3
.This is our composer setup: https://github.com/spatie/crawler/blob/master/composer.json#L25
5caa88a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's my guess that
tightenco/collect:^5.6
should also be allowed here?https://github.com/tightenco/collect/releases
5caa88a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Laravel 5.6 should not replace Collect
>=5.5.33
, after the namespace change from Illuminate/Support to Tighenco/Collect, if Laravel ignores it during install, the namespace Tighenco/Collect will not be available.So this replacement had to change in Laravel. It tells Composer to "do ignore the Collect requirement if the Collect version is below 5.5.33", because Collect's namespace will conflict with Illuminate's.
We have an issue about the installation problem: tighten/collect#88 and a question on Composer: composer/composer#7129, which is (kind of) understood, but still seems like a bug, since you are able install it, depending on the order you install the packages.
So, if you do
But usually works when:
But this should not make any difference, right?
5caa88a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's it working
*Framework
5caa88a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see : #23272