0

I created my first composer package. After several problems (like autoload, versions, etc.), I managed to make something functional.

My last problem is that my readme.md is readable on my BitBucket repo but not in my packagist "page". I tried to let only a few basic lines in case it was a syntax error but it didn't work. Is there a known (or unknown) conflict between packagist and BitBucket (all packages I saw was only on GitHub)?

My packagist url: https://packagist.org/packages/mrdebug/crudgen

My BitBucket url: https://bitbucket.org/mrdebug/crudgen

MisterDebug
  • 915
  • 9
  • 15

1 Answers1

1

It looks like Packagist only loads README data from GitHub.

The only trace I can find in the source code is in a function called updateGitHubInfo, which hard-codes GitHub's domain when it retrieves README data:

private function updateGitHubInfo(...) {
    // ...
    $readme = $rfs->getContents('github.com', $baseApiUrl.'/readme', false, $opts);
    // ...
}
ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257