PHPackages                             wangqs/pexels-sdk - 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. wangqs/pexels-sdk

ActiveLibrary[API Development](/categories/api)

wangqs/pexels-sdk
=================

API encapsulation of pexels --- Pexels 的 api 封装

v1.0.1(5y ago)010MITPHPPHP &gt;=5.4.0

Since Mar 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/wqsacy/pexels-sdk)[ Packagist](https://packagist.org/packages/wangqs/pexels-sdk)[ RSS](/packages/wangqs-pexels-sdk/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

 pexels-sdk
============

[](#-pexels-sdk-)

 API encapsulation of pexels --- Pexels 的 api 封装.

Installing
----------

[](#installing)

```
$ composer require wangqs/pexels-sdk -vvv
```

Usage
-----

[](#usage)

Create an instance of the Pexels API Client by passing in your API token as parameter.

```
$pexels = new \Wangqs\PexelsSdk\Client("your token");
```

Perform a search, the response gets returned as an array

```
$normalImg = json_decode($pexels->search('keyword')->getBody())->photos;

$featuredImg = json_decode($pexels->curated('keyword')->getBody())->photos;

$normalVideo = json_decode($pexels->videoSearch('keyword')->getBody())->videos;

$featuredVideo = json_decode($pexels->videoCurated('keyword')->getBody())->videos;
```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/wangqs/pexels-sdk/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/wangqs/pexels-sdk/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

1920d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38206909?v=4)[qishan.wang](/maintainers/wqsacy)[@wqsacy](https://github.com/wqsacy)

---

Top Contributors

[![wqsacy](https://avatars.githubusercontent.com/u/38206909?v=4)](https://github.com/wqsacy "wqsacy (8 commits)")

### Embed Badge

![Health badge](/badges/wangqs-pexels-sdk/health.svg)

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

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M973](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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