Answer the question
In order to leave comments, you need to log in
How to work with composer?
Hello. Help with composer. The bottom line is this, put the packages, all the rules, nothing clashed. Today it was necessary to install another package and it needs the following dependencies:
"illuminate/http": "~5.4",
"illuminate/support": "~5.4"
laravel/socialite v3.0.0
Answer the question
In order to leave comments, you need to log in
Why did you include them in your composer.json. The point is that the dependencies are resolved recursively and you only need to specify your package and its version, and then all the necessary dependencies and the necessary versions of these dependencies will be calculated for you.
But in any case, since you have a problem in another package that needs a version less than 5.4, then it makes sense to write about it and its version, it is possible to specify a more recent version that is compatible with 5.4
>>laravel/socialite v3.0.0
this package is rotten, the current version is 3.0.2, be careful in prescribing versions, deal with markings, tildes and wildcards so as not to suffer later. Unfortunately, in many packages, the authors did not get confused by this and produce conflicts out of the blue. In this case, it is easier to fork and fix the versions, send a pull request to the author.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question