Answer the question
In order to leave comments, you need to log in
What to do with such a package?
I have a fun dadata/apiclient package in my old project. It is not clear what happened to him - either the developer deleted the old versions, or something else has changed in the repositories, but what worked 5 years ago now behaves like this:
composer install
- Installing dadata/apiclient (v1.0.0): Downloading (failed) Failed to download dadata/apiclient from dist: The "https://bitbucket.org/henui/dadata-apiclient/get/47bad3cb8af8773bc44ae0b548bf2bd7aa1ce411.zip" file could not be downloaded (HTTP/1.1 404 Not Found)
Now trying to download from source
- Installing dadata/apiclient (v1.0.0):
[RuntimeException]
Failed to clone https://bitbucket.org/henui/dadata-apiclient,
The given URL (https:***@)example.com/path-to-repository)
composer update
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package dadata/dadata-api-bundle ^1.0 exists as dadata/dadata-api-bundle[2.0.0, dev-master] but these are rejected by your constraint.
Problem 2
- The requested package dadata/apiclient ^1.0 is satisfiable by dadata/apiclient[1.0.x-dev] but these conflict with your requirements or minimum-stability.
Answer the question
In order to leave comments, you need to log in
I think you should try using dev-master / 1.0.x-dev
This is probably the version you want.
If there is a copy of the project with the /vendor/ folder, then you can pull the sources from there and publish them in your git repository and specify a link to the custom repository in composer.json.
"repositories": [
{
"type": "vcs",
"url": "[email protected]:XXXUSERNAMEXXXX/YYYYY-REPO.git"
},
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question