php - Composer package I submitted cannot require
过去多啦不再A梦
过去多啦不再A梦 2017-06-10 09:47:26
0
2
461
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梦

reply all(2)
迷茫

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

阿神

Add the version number of your package

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!