This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (0.2.0) of this package.
PHP library for the Drupal.org API
0.2.0 2018-04-16 13:34 UTC
This library provides convenient wrapper functions for Drupal.org’s REST API. The API is documented here.
$nids = [107871, 2945793, 1306976]; $query = new NodeQuery(); $query->setOptions(['query' => ['type' => Node::TYPE_MODULE, 'nid' => $nids]]); $nodes = $query->execute()->getContents()->all();
$uids = [1, 381388]; $query = new UserQuery(); $query->setOptions(['query' => ['uid' => $uids]]); $users = $query->execute()->getContents()->all();