PHPackages                             pavelbushalin/pixabayphpapi - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. pavelbushalin/pixabayphpapi

ActiveLibrary[HTTP &amp; Networking](/categories/http)

pavelbushalin/pixabayphpapi
===========================

PixabayClient is a PHP HTTP client library to access Pixabay's API

1.0.3(8y ago)06MITPHPPHP &gt;=5.5.0

Since Dec 14Pushed 5y agoCompare

[ Source](https://github.com/PavelBushalin/pixabayphpapi)[ Packagist](https://packagist.org/packages/pavelbushalin/pixabayphpapi)[ Docs](https://www.zoonman.com/projects/pixabay/)[ RSS](/packages/pavelbushalin-pixabayphpapi/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (10)Used By (0)

Pixabay PHP Client
==================

[](#pixabay-php-client)

[![Build Status](https://camo.githubusercontent.com/e21240ef261a161645b4ce675aa98eaa2c55eaa0a88e11c31a43392bc954080f/68747470733a2f2f7472617669732d63692e6f72672f7a6f6f6e6d616e2f706978616261792d7068702d6170692e737667)](https://travis-ci.org/zoonman/pixabay-php-api) [![Code Climate](https://camo.githubusercontent.com/04f83b54ae6c5b71e5b90354100bb7a64d635cf09f080b20634b89ae3d39d74c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7a6f6f6e6d616e2f706978616261792d7068702d6170692f6261646765732f6770612e737667)](https://codeclimate.com/github/zoonman/pixabay-php-api) ![Packagist](https://camo.githubusercontent.com/6097dd66eba911065e7209797ada2063b60c2937fb65c592e13998297a249982/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f6f6e6d616e2f706978616261792d7068702d6170692e737667) ![GitHub license](https://camo.githubusercontent.com/43e7a014c3769bc45e0696bc07783ce0803ba94a338922de0c2b8a7c983cb785/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7a6f6f6e6d616e2f706978616261792d7068702d6170692e737667)

This is unofficial wrapper for [Pixabay RESTful API](http://pixabay.com/api/docs/) for searching and retrieving Pixabay public domain images.

[![Pixabay](https://camo.githubusercontent.com/37e9dbdf887595a2ab36a37cf07b12800da11a91802cb26b8ca763bed8ed456e/68747470733a2f2f706978616261792e636f6d2f7374617469632f696d672f6c6f676f2e737667)](http://pixabay.com/)

### Installing via Composer

[](#installing-via-composer)

The recommended way to install Pixabay PHP Client is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Pixabay PHP Client:

```
composer require zoonman/pixabay-php-api
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

### Documentation

[](#documentation)

Compatible with PHP verisons:

- 5.5
- 5.6
- 7
- hhvm
- nightly

See current build status above.

#### Usage example

[](#usage-example)

```
