0

Yesterday, I pushed my code to github. I also wanted to publish it for composer, but I found a problem. First, I linked my packagist account with github account. Later, I created a package based on github repo. From now on, if I use code in composer.json:

"require": {
    "mbajda/yahoo-weather": "dev-master"
}

I can use that dependency. But when I open Packagist page and search for that dependency, I get 'no packages found' text. What could go wrong? It’s not a private package.

My composer.json:

{
    "name": "mbajda/yahoo-weather",
    "description": "Yahoo Weather API PHP Implementation",
    "type": "library",
    "license": "MIT",
    "version": "1.0.0",
    "keywords": ["api", "yahoo", "yahoo-weather", "weather"],
    "minimum-stability": "stable",
    "require": {
        "php": ">=7.1.0"
    },
    "autoload": {
        "psr-4": {
            "YahooWeather\\": "src/"
        }
    }
}
bfontaine
  • 18,169
  • 13
  • 73
  • 107
Lurker
  • 267
  • 2
  • 4
  • 10
  • Which keywords did you use for searching? – Tuan Duong Sep 19 '17 at 09:34
  • `yahoo-weather` and `weather`. Also tried to use my vendor name 'mbajda', but that failed too. – Lurker Sep 19 '17 at 09:42
  • You can try to open an issue on https://github.com/composer/packagist/issues or otherwise try to get in touch with https://github.com/Seldaek. If you appreciate his help, maybe also consider thanking him by ordering him something from his Amazon wishlist: http://seld.be/wishlist. – localheinz Sep 19 '17 at 11:34

1 Answers1

0

It was a problem with Packagist, which has been solved today.

Lurker
  • 267
  • 2
  • 4
  • 10