paravibe / shutterstock
The Shutterstock API wrapper for PHP
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/paravibe/shutterstock
Requires
- php: ^5.6 || ^7.0
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpunit/phpunit: ^5.5
This package is auto-updated.
Last update: 2025-09-23 00:50:47 UTC
README
Installation
composer require paravibe/shutterstock
How to use
Initialize client
$client = new \Shutterstock\Main\Client($access_token);
Where $access_token
is a token retrived during authorization procedure
Use any method described here https://api-reference.shutterstock.com
by passing proper HTTP method and endpoint to createRequest()
method.
GET/DELETE methods
$get = $client->createRequest('GET', "users")->execute(); $data = $get->getDecodedBody();