1- # clue/packagist-api-react [ ![ Build Status] ( https://travis-ci.org/clue/php -packagist-api-react .svg?branch=master )] ( https://travis-ci.org/clue/php -packagist-api-react )
1+ # clue/reactphp- packagist-api [ ![ Build Status] ( https://travis-ci.org/clue/reactphp -packagist-api.svg?branch=master )] ( https://travis-ci.org/clue/reactphp -packagist-api )
22
3- Simple async access to packagist.org's API, like listing project details, number of downloads, etc.
3+ Simple async access to packagist.org's API, like listing project details, number of downloads etc.,
4+ built on top of [ ReactPHP] ( https://reactphp.org/ ) .
45
56This is an async version of [ KnpLab's excellent ` packagist-api ` ] ( https://github.com/KnpLabs/packagist-api ) ,
6- but built upon [ React PHP 's non-blocking ` event-loop ` ] ( https://github.com/reactphp/event-loop ) .
7- It uses the [ async HTTP client library ` buzz-react ` ] ( https://github.com/clue/php -buzz-react ) to process
7+ but built upon [ ReactPHP 's non-blocking ` event-loop ` ] ( https://github.com/reactphp/event-loop ) .
8+ It uses the [ async HTTP client library ` clue/reactphp-buzz ` ] ( https://github.com/clue/reactphp -buzz ) to process
89any number of requests in parallel.
9-
1010In a nutshell, it allows you to issue multiple requests to the packagist API in parallel and process them out of order
1111whenever their results arrive - while trying to hide all the nifty details of async processing.
1212On top of that it provides a very easy to use API, very much similar to the original ` packagist-api ` ,
13- enriched with the comfort of [ React PHP 's Promises/A ] ( https://github.com/reactphp/promise ) .
13+ enriched with the comfort of [ ReactPHP 's Promises] ( https://github.com/reactphp/promise ) .
1414
1515** Table of Contents**
1616
@@ -52,7 +52,7 @@ See also the [examples](examples).
5252### Client
5353
5454The ` Client ` is responsible for assembling and sending HTTP requests to the remote Packagist API.
55- It requires a [ ` Browser ` ] ( https://github.com/clue/php -buzz-react #browser ) object
55+ It requires a [ ` Browser ` ] ( https://github.com/clue/reactphp -buzz#browser ) object
5656bound to the main [ ` EventLoop ` ] ( https://github.com/reactphp/event-loop#usage )
5757in order to handle async requests:
5858
@@ -64,7 +64,7 @@ $client = new Client($browser);
6464```
6565
6666If you need custom DNS, SSL/TLS or proxy settings, you can explicitly pass a
67- custom [ ` Browser ` ] ( https://github.com/clue/php -buzz-react #browser ) instance.
67+ custom [ ` Browser ` ] ( https://github.com/clue/reactphp -buzz#browser ) instance.
6868
6969#### Promises
7070
0 commit comments