PHPackages                             bigstock/bigstock - 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. bigstock/bigstock

AbandonedArchivedLibrary[API Development](/categories/api)

bigstock/bigstock
=================

PHP Bigstock API Client

0.1(11y ago)2303PHPPHP &gt;=5.3.0

Since Dec 12Pushed 7y ago37 watchersCompare

[ Source](https://github.com/shutterstock/bigstock-php-client)[ Packagist](https://packagist.org/packages/bigstock/bigstock)[ RSS](/packages/bigstock-bigstock/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

DEPRECATED
==========

[](#deprecated)

This repo is no longer publicly supported.

bigstock-php-client
===================

[](#bigstock-php-client)

PHP Client for the Bigstock API. Full documentation is available at . Self-serve signup for API accounts are available in the [Partners section](https://www.bigstockphoto.com/partners) of Bigstock.

Install
-------

[](#install)

Install the Bigstock PHP Client with Composer.

```
"require": {
    "bigstock/bigstock": "0.1"
},
```

Usage
-----

[](#usage)

Create an instance of the Bigstock API Client by passing in your API ID and API Secret as parameters. The client will then handle any authentication when required.

```
$bigstock = new Bigstock\Bigstock('API ID', 'API Secret');
```

### Perform a search and check for a successful result

[](#perform-a-search-and-check-for-a-successful-result)

```
$search_params = array('q'=>'dog');
$result = $bigstock->search( $search_params );
if ($result->message == 'success') {
    $pages = $result->data->paging;
    $images = $result->data->images;
}
```

### Loop through search results and create HTML to display images

[](#loop-through-search-results-and-create-html-to-display-images)

```
$html = '';
foreach( $images as $image ) {
    $html .= "";
}
echo $html;
```

### Get detailed information about an image

[](#get-detailed-information-about-an-image)

```
$result = $bigstock->getImage(22411445);
if ($result->message == 'success') {
    $formats = $result->data->image->formats;
    $preview_url = $result->data->image->preview->url;
}
```

### Purchase and download an image

[](#purchase-and-download-an-image)

```
$result = $bigstock->getPurchase(22411445, 'l');
if ($result->message == 'success') {
    // Get the URL to the file to download separately
    $file_url = $bigstock->getDownloadUrl($result->data->download_id);
    // Or download the file directly
    $file = $bigstock->download($result->data->download_id);
}
```

License
-------

[](#license)

[MIT](LICENSE) © 2014-2017 Brent Baisley

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

4165d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8b596b5f9021aebc6f723f8b59d53ea2186f6a7c61f80989a140db082db632d?d=identicon)[Bar\_Code](/maintainers/Bar_Code)

---

Top Contributors

[![bbaisley](https://avatars.githubusercontent.com/u/1406700?v=4)](https://github.com/bbaisley "bbaisley (7 commits)")[![RichardLitt](https://avatars.githubusercontent.com/u/910753?v=4)](https://github.com/RichardLitt "RichardLitt (4 commits)")[![PSchwisow](https://avatars.githubusercontent.com/u/1644414?v=4)](https://github.com/PSchwisow "PSchwisow (2 commits)")[![jacobemerick](https://avatars.githubusercontent.com/u/527814?v=4)](https://github.com/jacobemerick "jacobemerick (1 commits)")

---

Tags

apibigstock-apiclientphpphp-clientphpapiclientlibrarymoduleShutterstockBigstockstock photo

### Embed Badge

![Health badge](/badges/bigstock-bigstock/health.svg)

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

###  Alternatives

[fabian-beiner/todoist-php-api-library

A PHP client library that provides a native interface to the official Todoist REST API.

4810.8k](/packages/fabian-beiner-todoist-php-api-library)

PHPackages © 2026

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