Skip to content
Advertisement

Why composer can not find my brand new package on packagist.org?

I’ve just created my first component on packagist.org, this is a forked version of greensock-js.

I put "components/greensock-js": "1.11.*@dev" into the require section of my composer.json file, but the issue is composer can’t find this package, saying

no matching package found.

What did I do wrong?

Advertisement

Answer

It is now working fine:

$ c show components/greenshock-js
name     : components/greenshock-js
descrip. : GSAP: Professional-Grade HTML5 Animation
keywords : JS, HTML5, component, animation, gsap
versions : dev-master, 1.11.x-dev

Most likely you just lacked some patience 🙂 It can take up to 10minutes for changes to propagate to composer. This will hopefully be reduced in the future again as we improve the code.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement