Composer Virtual Packages

2 · Alan Storm · Oct. 21, 2019, 1:20 p.m.
Summary
The KnpLabs/php-github-api project was invaluable to me during my recent composer/Magento research. GitHub offers both REST and GraphQL APIs that you interact with via HTTP, but it’s often easier to use these sorts of APIs with a package that gives you classes or functions that handle the HTTP POSTing and serializing of the data. That’s exactly what KnpLabs/php-github-api is. There was, however, one hiccup. When I tried installing the packagist package, I got a pile of confusing errors. $ compos...