ambitionphp/pexels-library

Integrate Pexels API with your projects

v2.0.3 2021-06-24 17:18 UTC

README

Build Status Coverage Status Scrutinizer Code Quality Latest Stable Version Latest Unstable Version License composer.lock

Integrate Pexels 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/pexels-library

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

Usage

Read the documentation.

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/pexels-library.git
$ cd pexels-library
$ composer install

Once all required libraries are installed then do:

$ vendor/bin/phpunit

IMPORTANT NOTICE: To test the package with your API key, edit the tests/Provider/APIProviderTest.php file to find and replace "YOUR_API_KEY".

License

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

Please note that the Pexels 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