PHPackages                             fathershawn/oauth2-formassembly - 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. fathershawn/oauth2-formassembly

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

fathershawn/oauth2-formassembly
===============================

FormAssembly OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1.2(3y ago)0111.9k↓29.5%1[1 PRs](https://github.com/FatherShawn/oauth2-formassembly/pulls)GPL-2.0-or-laterPHPPHP ^8.1

Since Aug 20Pushed 3y agoCompare

[ Source](https://github.com/FatherShawn/oauth2-formassembly)[ Packagist](https://packagist.org/packages/fathershawn/oauth2-formassembly)[ RSS](/packages/fathershawn-oauth2-formassembly/feed)WikiDiscussions master Synced 1mo ago

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

oauth2-formassembly
===================

[](#oauth2-formassembly)

This package provides [FormAssembly](https://github.com/veerwest/formassembly-api) 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 fathershawn/oauth2-formassembly

```

Usage
-----

[](#usage)

### Request an authorization code

[](#request-an-authorization-code)

If you are working with FormAssembly, you may have another class by that name, so you can rename the provider:

```
