mechant / oauth1-500px
500px OAuth 1.0 Client Provider for The PHP League OAuth1-Client
dev-master
2016-03-22 17:42 UTC
Requires
- php: >=5.4.0
- league/oauth1-client: ~1.2
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-10-24 00:28:24 UTC
README
This package provides a 500px Client for the PHP League's OAuth 1.0 Client.
Installation
composer require mechant/oauth1-500px
Usage
Usage is the same as The League's OAuth client, using Mechant\OAuth1\Client\Server\FiveHundredPx
as the provider.
$server = new Mechant\OAuth1\Client\Server\FiveHundredPx([ 'identifier' => 'your-client-id', 'secret' => 'your-client-secret', 'callback_uri' => 'http://callback.url/callback', ]);
Please refer to the 500px Api Documentation for the available endpoints.