You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All public methods on the `Client` resemble the API provided by [KnpLab's `packagist-api`](https://github.com/KnpLabs/packagist-api),
51
58
except for an async shift in their return values.
52
59
Sending requests is async (non-blocking), so you can actually send multiple requests in parallel.
53
60
Packagist will respond to each request with a response message, the order is not guaranteed.
54
61
Sending requests uses a [Promise](https://github.com/reactphp/promise)-based interface that makes it easy to react to when a request is fulfilled (i.e. either successfully resolved or rejected with an error).
55
62
63
+
#### search()
64
+
56
65
The `search($query, $filters = array())` method can be used to search packages matching the given query string and optionally matching the given filter parameter.
57
66
It resolves with an array containing zero or more `Package` objects.
0 commit comments