y0lk / oauth1-etsy
Etsy API OAuth 1.0 Client Provider for The PHP League OAuth1-Client
Installs: 215 870
Dependents: 0
Suggesters: 1
Security: 0
Stars: 6
Watchers: 1
Forks: 9
Open Issues: 0
Requires
- php: >=7.0
- league/oauth1-client: ^1.7.0
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is auto-updated.
Last update: 2024-10-29 04:47:24 UTC
README
This package provides Etsy API OAuth 1.0 support for the PHP League's OAuth 1.0 Client.
Installation
Via Composer
$ composer require y0lk/oauth1-etsy
Usage
Usage is the same as The League's OAuth client, using Y0lk\OAuth1\Client\Server\Etsy
as the provider.
$server = new Y0lk\OAuth1\Client\Server\Etsy([ 'identifier' => 'your-client-id', 'secret' => 'your-client-secret', 'scope' => '', //See Etsy documentation for the full list of permission scopes 'callback_uri' => 'http://callback.url/callback' ]);
Permission Scopes
See the Etsy documentation for Permission Scopes
License
The MIT License (MIT). Please see License File for more information.