Answer the question
In order to leave comments, you need to log in
Rejected by your constraint. How to fix?
- The requested package PACK NAME exists as PACK NAME [dev-master] but these are rejected by your constraint.
Appears after an attempt to update (reinstall after removal) a package. I'm still just getting to grips with Composer:
1. Uploaded my library to github.
2. Wrote a json file, registered at https://packagist.org/, added a link there,
3. Connected this package to another project, everything downloaded, it worked.
4. Updated the package.
5. The Composer Update command (as well as Composer Remove, Composer Require) does not find changes. Uploads all the same version. (while writing Cloning ... from cache)
Notes: minimum-requirements are set on dev. Composer clear-cache tried. Nothing helps.
Answer the question
In order to leave comments, you need to log in
Found. It turns out that packagist.org updates the information from the repositories from time to time by krone. (As evidenced by the inscription in the list of packages next to the package "(Not Auto-Updated)"). It turns out that you can set up integration with Githab and Bitbucket. In order for packagist to automatically update information about the latest commits by Push, but for some reason it didn’t work for me after all the configuration steps, but ...
There is an Update button on the package page in packagist. With its help, you can manually report that changes have appeared after Push to the repository, then updates are downloaded using the Composer update command. (although not immediately, but after a few minutes this action works. But it is already noticeably better)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question