PHPackages                             startz/oauth2-etsy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. startz/oauth2-etsy

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

startz/oauth2-etsy
==================

Etsy OAuth2 Client Provider for The PHP League OAuth2-Client

0.0.3(1y ago)77.2k↓42.3%2[1 issues](https://github.com/startz/oauth2-etsy/issues)MITPHPPHP ^7.3 || ^8.0

Since Sep 14Pushed 1y ago2 watchersCompare

[ Source](https://github.com/startz/oauth2-etsy)[ Packagist](https://packagist.org/packages/startz/oauth2-etsy)[ GitHub Sponsors](https://github.com/cdburgess)[ RSS](/packages/startz-oauth2-etsy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Etsy Provider for OAuth 2.0 Client
==================================

[](#etsy-provider-for-oauth-20-client)

[![GitHub tag](https://camo.githubusercontent.com/2cd64498b58c7622e10a275fa35ea0ee728ad4574616445b7f9edc21c8fd29c2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f73746172747a2f6f61757468322d657473792e737667)](https://github.com/startz/oauth2-etsy/blob/master/tags)[![GitHub license](https://camo.githubusercontent.com/5d9d0ef0d35e09d8e84452fc2f2ab245ab959438c02006d1e8234c768d4131ca/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73746172747a2f6f61757468322d657473792e737667)](https://github.com/startz/oauth2-etsy/blob/main/LICENSE)[![build](https://github.com/startz/oauth2-etsy/actions/workflows/php.yml/badge.svg?branch=master)](https://github.com/startz/oauth2-etsy/actions/workflows/php.yml)[![codecov](https://camo.githubusercontent.com/6ff309f7e46641a5db578e7558cfaceb8ff598e49a19e283c7be6de356d05ba1/68747470733a2f2f636f6465636f762e696f2f67682f73746172747a2f6f61757468322d657473792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/startz/oauth2-etsy)[![Packagist Downloads](https://camo.githubusercontent.com/7899fc5266ec0e3262773d9c6fb5a3ee857223709d6f34caafddb865455594c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746172747a2f6f61757468322d65747379)](https://camo.githubusercontent.com/7899fc5266ec0e3262773d9c6fb5a3ee857223709d6f34caafddb865455594c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73746172747a2f6f61757468322d65747379)

This package provides Etsy OAuth 2.0 support for the PHP League's [OAuth 2.0 Client](https://github.com/thephpleague/oauth2-client).

Requirements
------------

[](#requirements)

The following versions of PHP are supported.

- PHP 7.3
- PHP 7.4
- PHP 8.0

Installation
------------

[](#installation)

To install, use composer:

```
composer require startz/oauth2-etsy

```

Usage
-----

[](#usage)

Usage is the same as The League's OAuth client, using `\StartZ\OAuth2\Client\Provider\Etsy` as the provider.

Please refer to your [Etsy Developer Account](https://www.etsy.com/developers/your-apps) for the necessary settings.

### Authorization Code Flow

[](#authorization-code-flow)

```
