T
T
toropchin2015-12-10 18:01:05
Composer
toropchin, 2015-12-10 18:01:05

How to properly link GitHub and Packagist?

Step by step:

  1. Created a repository on GitHub
  2. Synchronized my local repository with the remote one
  3. Added a GitHub repository on Packagist
  4. Packagist shows dev-master branch loaded
  5. The composer.json file says: "minimum-stability": "dev"
  6. I execute the command composer require "coder-studio/bootstrap"
  7. I am getting an error message:
Could not find package coder-studio/bootstrap at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

Here is the link to the repository https://github.com/coder-studio/bootstrap.git
How do I make composer install the minimum stable version? What should be written where?
This is what a branch looks like in SourceTree:
742792e2d6134636a549bbb3e4f35346.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Muhammad, 2015-12-10
@toropchin

Had the same problem. You just need to make a "release", i.e. put a tag on the commit. This can be done via the console , on GitHub, or if you're using ST, by clicking on the "Label" button: prntscr.com/9cjsge .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question