PHPackages                             ambitionphp/pexels-library - 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. ambitionphp/pexels-library

ActiveLibrary[API Development](/categories/api)

ambitionphp/pexels-library
==========================

Integrate Pexels API with your projects

v2.0.3(4y ago)034MITPHPPHP ^7.1|^8.0

Since Jul 6Pushed 4y agoCompare

[ Source](https://github.com/ambitionphp/pexels-library)[ Packagist](https://packagist.org/packages/ambitionphp/pexels-library)[ Docs](https://github.com/webeweb/pexels-library)[ RSS](/packages/ambitionphp-pexels-library/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (4)Versions (26)Used By (0)

pexels-library
==============

[](#pexels-library)

[![Build Status](https://camo.githubusercontent.com/b0c479e8917c03bd2de97a51f28381f440cdb626b775812dcaf013e30add8f1f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f776562657765622f706578656c732d6c6962726172792f6275696c643f7374796c653d666c61742d737175617265)](https://github.com/webeweb/pexels-library/actions)[![Coverage Status](https://camo.githubusercontent.com/566d1df57256790422986c7d68d5a588aeafe95a95600917852c99808a36b421/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f776562657765622f706578656c732d6c6962726172792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/github/webeweb/pexels-library?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5931c1f88a675a9ffa7aaf8f0dac783a489b3f24a985c93afece7e074f79c249/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f776562657765622f706578656c732d6c6962726172792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/webeweb/pexels-library/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/5da30807b3e7676c3e2f7f5ab712ee0447dd9516e2e55c5197d215c5fdb43710/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562657765622f706578656c732d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/pexels-library)[![Latest Unstable Version](https://camo.githubusercontent.com/616cad0326a8c192435164690858303bab89f66fb0717e0d18ec8de7c3b160ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f776562657765622f706578656c732d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/pexels-library)[![License](https://camo.githubusercontent.com/7a3d20142c4f95a980a7f5f420eebafd49ec3099731aa2fa2e5197a54731c185/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562657765622f706578656c732d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/pexels-library)[![composer.lock](https://camo.githubusercontent.com/7de7a804bd6140ed9930c0194534e58bc53b1fcdc260d727baae460969a1f285/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2e6c6f636b2d756e636f6d6d697465642d696d706f7274616e742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webeweb/pexels-library)

Integrate Pexels API with your projects.

If you like this package, pay me a beer (or a coffee) [![paypal.me](https://camo.githubusercontent.com/792daa86a939b21089cfef57177a6331ffe4bb93d6cb6f90cb8e42446cc30941/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030373062612e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

Compatibility
-------------

[](#compatibility)

[![PHP](https://camo.githubusercontent.com/88007d70d006cbf4af0de1242668652d01d9cc9f049d8e4a42d635188044c73a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562657765622f706578656c732d6c6962726172792e7376673f7374796c653d666c61742d737175617265)](http://php.net)

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

[](#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](https://getcomposer.org/doc/00-intro.md) of the Composer documentation.

Usage
-----

[](#usage)

Read the [documentation](doc/index.md).

Testing
-------

[](#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
-------

[](#license)

`pexels-library` is released under the MIT License. See the bundled [LICENSE](LICENSE)file for details.

Please note that the Pexels API is not free for use, see their [API page](https://www.pexels.com/api/documentation/) for details on usage.

Donate
------

[](#donate)

If you like this work, please consider donating at [![paypal.me](https://camo.githubusercontent.com/792daa86a939b21089cfef57177a6331ffe4bb93d6cb6f90cb8e42446cc30941/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2e6d652d776562657765622d3030373062612e7376673f7374796c653d666c61742d737175617265266c6f676f3d70617970616c)](https://www.paypal.me/webeweb)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~30 days

Total

25

Last Release

1786d ago

Major Versions

v1.7.6 → v2.0.02021-04-13

PHP version history (3 changes)v1.0.0PHP ^5.6|^7.0

v1.7.0PHP ^7.0|^8.0

v1.7.1PHP ^7.1|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ddff88901fe95772277efdefb74ba68d41c212f61d4ad6dc2ac369dc688c63a?d=identicon)[ambitionphp](/maintainers/ambitionphp)

---

Top Contributors

[![webeweb](https://avatars.githubusercontent.com/u/32354830?v=4)](https://github.com/webeweb "webeweb (194 commits)")

---

Tags

apilibraryvideophotowebewebpexels

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ambitionphp-pexels-library/health.svg)

```
[![Health](https://phpackages.com/badges/ambitionphp-pexels-library/health.svg)](https://phpackages.com/packages/ambitionphp-pexels-library)
```

###  Alternatives

[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[webeweb/pexels-library

Integrate Pexels API with your projects

1043.9k1](/packages/webeweb-pexels-library)[webeweb/smsmode-library

Integrate sMsmode API with your projects

1022.2k1](/packages/webeweb-smsmode-library)[bushlanov-dev/max-bot-api-client-php

Max Bot API Client library

281.6k](/packages/bushlanov-dev-max-bot-api-client-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
