PHPackages                             gamepanelio/spiget-api - 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. gamepanelio/spiget-api

ActiveLibrary[API Development](/categories/api)

gamepanelio/spiget-api
======================

A PHP implementation of the Spiget.org API

0.2.0(8y ago)6511MITPHP

Since Aug 2Pushed 8y ago3 watchersCompare

[ Source](https://github.com/gamepanelio/spiget-api-php)[ Packagist](https://packagist.org/packages/gamepanelio/spiget-api)[ RSS](/packages/gamepanelio-spiget-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (7)Versions (4)Used By (0)

Spiget.org PHP API Client
=========================

[](#spigetorg-php-api-client)

This library is a basic PHP implementation of the [Spiget.org API](https://spiget.org/).

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

[](#installation)

This library uses the [HTTPlug](https://github.com/php-http/httplug) HTTP client abstraction library - meaning you can use your favourite HTTP library with it!

For a quick and easy way to use this library in your project, via composer, run the following:

```
  composer require php-http/curl-client guzzlehttp/psr7 php-http/message gamepanelio/spiget-api
```

There are also [lots of different libraries](https://packagist.org/providers/php-http/client-implementation)that you can use with HTTPlug. To see how to use different libraries please [refer to the HTTPlug documentation](http://docs.php-http.org/en/latest/httplug/users.html).

Usage
-----

[](#usage)

Simply instantiate a `new Spiget()` class, and use the methods it provides:

```
