PHPackages                             rayrutjes/packagist-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. rayrutjes/packagist-api-client

ActiveLibrary[API Development](/categories/api)

rayrutjes/packagist-api-client
==============================

Simple Packagist API Client in PHP

0.1.0(9y ago)112MITPHPPHP &gt;=5.6

Since Jan 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rayrutjes/packagist-api-client)[ Packagist](https://packagist.org/packages/rayrutjes/packagist-api-client)[ RSS](/packages/rayrutjes-packagist-api-client/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

PackagistApi Client
===================

[](#packagistapi-client)

Let's consume the [Packagist API](https://packagist.org/apidoc).

[![Build Status](https://camo.githubusercontent.com/d0b6b06720b71a1e8e076ba0e4dd397883a0e62950c7ceffadb46db51aaa6fb5/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7261797275746a65732f7061636b61676973742d6170692d636c69656e742e706e67)](http://travis-ci.org/rayrutjes/packagist-api-client)[![Latest Stable Version](https://camo.githubusercontent.com/568b44a361a7de5670b8d3b4eab72362349d02cb363d4e311f2ef2b5af6060e6/68747470733a2f2f706f7365722e707567782e6f72672f7261797275746a65732f7061636b61676973742d6170692d636c69656e742f762f737461626c652e737667)](https://packagist.org/packages/rayrutjes/packagist-api-client)[![Code Coverage](https://camo.githubusercontent.com/9f8cbf9ee8037f92dc5afa99c7ed9e8d7030eae1789dfd05fdeb57df8b6ddcc4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261797275746a65732f7061636b61676973742d6170692d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rayrutjes/packagist-api-client/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c11373d1c7438e1fe45d6ab0b0c8f5a7d2547ebdb917f3222435c463c7dd0ce1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7261797275746a65732f7061636b61676973742d6170692d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/rayrutjes/packagist-api-client/?branch=master)[![License](https://camo.githubusercontent.com/2e61256d433801edc805a3148c3318aa1d920dc3477fc6a05930d61e8cae702d/68747470733a2f2f706f7365722e707567782e6f72672f7261797275746a65732f7061636b61676973742d6170692d636c69656e742f6c6963656e73652e737667)](https://packagist.org/packages/rayrutjes/packagist-api-client)

Installation
------------

[](#installation)

This library can be found on [Packagist](https://packagist.org/packages/rayrutjes/packagist-api-client). The recommended way to install this is through [composer](http://getcomposer.org).

Run these commands to install composer, the library and its dependencies:

```
$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require rayrutjes/packagist-api-client
```

You then need to install **one** of the following:

```
$ php composer.phar require guzzlehttp/guzzle:~5.0
$ php composer.phar require guzzlehttp/guzzle:~6.0
```

Usage
-----

[](#usage)

### Initialize client

[](#initialize-client)

```
