Skip to content

webeweb/pixabay-library

Repository files navigation

pixabay-library

Github actions workflow status Coveralls Packagist version Packagist license

Integrate Pixabay API with your projects.

If you like this package, pay me a beer (or a coffee) paypal.me

Compatibility

PHP

Installation

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

composer require webeweb/pixabay-library

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Usage

Read the documentation. You can also consult or execute sample scripts into dev folder.

Testing

To test the package, is better to clone this repository on your computer. Open a command console and execute the following commands to download the latest stable version of this package:

git clone https://github.com/webeweb/pixabay-library.git
cd pixabay-library
composer install

Once all required libraries are installed then do:

vendor/bin/phpunit

IMPORTANT NOTICE: To test the package with your API key, pastes it into a .token file at the root of this package.

License

pixabay-library is released under the MIT License. See the bundled LICENSE file for details.

Please note that the Pixabay API is not free for use, see their API page for details on usage.

Donate

If you like this work, please consider donating at paypal.me