This package provides a 500px Client for the PHP League's OAuth 1.0 Client.
composer require mechant/oauth1-500px
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.