mechant/oauth1-500px

500px OAuth 1.0 Client Provider for The PHP League OAuth1-Client

dev-master 2016-03-22 17:42 UTC

This package is not auto-updated.

Last update: 2024-10-24 00:28:24 UTC


README

SensioLabsInsight Coverage Status Build Status

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.