search

Home  >  Q&A  >  body text

php - Composer package I submitted cannot require

Administrator@changwei MINGW64 /d/github/test
$ composer require changwei/array2text


  [InvalidArgumentException]
  Could not find package changwei/array2text at any version for your minimum-
  stability (stable). Check the package spelling or your minimum-stability


require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

Report the above error, https://packagist.org/package... This package can be searched in the warehouse. What is the reason?

过去多啦不再A梦过去多啦不再A梦2728 days ago520

reply all(2)I'll reply

  • 迷茫

    迷茫2017-06-10 09:49:26

    It’s very simple, you have to publish the release on github, otherwise you can only use the dev-master version

    reply
    0
  • 阿神

    阿神2017-06-10 09:49:26

    Add the version number of your package

    reply
    0
  • Cancelreply