PHPackages                             kennethormandy/oauth2-stripe - 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. kennethormandy/oauth2-stripe

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

kennethormandy/oauth2-stripe
============================

Stripe OAuth 2.0 Client Provider for The PHP League OAuth2-Client, including urlAuthorize support for Stripe Connect.

2.1.0(5y ago)07381MITPHP &gt;=5.6.0

Since Sep 24Pushed 5y agoCompare

[ Source](https://github.com/kennethormandy/oauth2-stripe)[ Packagist](https://packagist.org/packages/kennethormandy/oauth2-stripe)[ RSS](/packages/kennethormandy-oauth2-stripe/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (9)Used By (1)

Stripe Provider for OAuth 2.0 Client
====================================

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

[![Latest Version](https://camo.githubusercontent.com/bac42fc2796b86eddb7e0e9ac2067001504ea5400e24ddb03956cd5b4a7dc0c8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6164616d2d7061746572736f6e2f6f61757468322d7374726970652e7376673f7374796c653d666c61742d737175617265)](https://github.com/adam-paterson/oauth2-stripe/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/decece5f965a2f89bd9fe82d252ea2bf8736da3f8652a6bc86fc77252370c764/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6164616d2d7061746572736f6e2f6f61757468322d7374726970652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/adam-paterson/oauth2-stripe)[![Coverage Status](https://camo.githubusercontent.com/a33ed66070d6431092bb6484a79d5b8e62ef70aa7ea54b05c5b2c608506564ef/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6164616d2d7061746572736f6e2f6f61757468322d7374726970652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/adam-paterson/oauth2-stripe/code-structure)[![Quality Score](https://camo.githubusercontent.com/bffd930b3f94970ed2755ce1338f2e75e848a6839821984eaca921f7794cb884/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6164616d2d7061746572736f6e2f6f61757468322d7374726970652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/adam-paterson/oauth2-stripe)[![Dependency Status](https://camo.githubusercontent.com/0eb8511f9d31987b57f959d924a69f32f9352db34a2c96b2558a8917538e6aa1/68747470733a2f2f696d672e736869656c64732e696f2f76657273696f6e6579652f642f7068702f6164616d2d7061746572736f6e3a6f61757468322d7374726970652f312e312e322e7376673f7374796c653d666c61742d737175617265)](https://www.versioneye.com/php/adam-paterson:oauth2-stripe/1.1.2)[![Total Downloads](https://camo.githubusercontent.com/02dfb51e6066288af762eecad942b79a6225a142b10d0579516307b7fc789e77/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6164616d7061746572736f6e2f6f61757468322d7374726970652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/adam-paterson/oauth2-stripe)

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

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

[](#installation)

To install, use composer:

```
composer require adam-paterson/oauth2-stripe

```

Usage
-----

[](#usage)

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

### Authorization Code Flow

[](#authorization-code-flow)

```
