I've been fighting with the packagist API and bitbucket server for a while, but still failing on getting the platforms work with each other in a "normal" way. I've set up webhooks from bitbucket server but, opposite to bitbucket cloud, server just won't send data to packagist. Each time data is sent from bitbucket, I receive an error 406 with missing data in the payload - while in cloud (via my work) it actually seem to work those days.
However, as I run an open source server license myself, I wonder if someone else has managed this to work properly?
Currently, I've built a "workaround" site, that forwards a simpler query to packagist from the server - as a "layer" - that works perfectly, but it does not feel like the right to do it that way.