PHPackages                             pxgamer/splas-php - 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. pxgamer/splas-php

ActiveLibrary[API Development](/categories/api)

pxgamer/splas-php
=================

A simple PHP wrapper for utilising the Unsplash api.

v4.2.1(7y ago)22431MITPHPPHP ^7.1

Since Dec 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/owenvoke/splas-php)[ Packagist](https://packagist.org/packages/pxgamer/splas-php)[ RSS](/packages/pxgamer-splas-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (3)Versions (16)Used By (1)

splas-php
=========

[](#splas-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/63db15339f319f8608e9e5ec29a9afd38fb3138eb6f49fd6265990de0136abaf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707867616d65722f73706c61732d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/splas-php)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/9b0c5565a8df98633a09c947564110a318e8fd550ca0ea27a6d9fede9643c2fe/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f707867616d65722f73706c61732d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/pxgamer/splas-php)[![Style CI](https://camo.githubusercontent.com/a7188a27e26c4e72474d70438690c84e380fe688a06d4702b8e13d929800c5e8/68747470733a2f2f7374796c6563692e696f2f7265706f732f37363236393936312f736869656c64)](https://styleci.io/repos/76269961)[![Code Coverage](https://camo.githubusercontent.com/373a5b19d5274951c027bf0d7d39dccd4ba3521acb8bdd67540f107828884b39/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f707867616d65722f73706c61732d7068702e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/pxgamer/splas-php)[![Total Downloads](https://camo.githubusercontent.com/9078fc984980216c2548e0f8185eb7f5fd8a5782d98fdfd2c97a26425a115046/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707867616d65722f73706c61732d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pxgamer/splas-php)

A simple PHP wrapper for utilising the [Unsplash](https://unsplash.com) api.

Install
-------

[](#install)

Via Composer

```
$ composer require pxgamer/splas-php
```

Usage
-----

[](#usage)

```
$splas = new Splas('APP_ID');
```

FunctionsParametersReturns`$splas->getPhotos()`voidarray`$splas->getCuratedPhotos()`voidarray`$splas->getRandom()`voidarray`$splas->getPhoto($id)`stringarray`$splas->getStats($id)`stringarray`$splas->getLink($id)`stringarrayChange log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [pxgamer](https://github.com/pxgamer)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

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

Recently: every ~57 days

Total

14

Last Release

2919d ago

Major Versions

v1.0.0 → v2.0.02016-12-15

v2.0.1 → v3.0.02017-08-11

v3.0.3 → v4.0.02017-11-07

PHP version history (3 changes)v1.0.0PHP &gt;=5.5.0

v3.0.1PHP &gt;=7.1.0

v4.1.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (85 commits)")

---

Tags

php-wrappersplas-phpunsplash

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/pxgamer-splas-php/health.svg)

```
[![Health](https://phpackages.com/badges/pxgamer-splas-php/health.svg)](https://phpackages.com/packages/pxgamer-splas-php)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M971](/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)
