kong / kong-oauth2-php-provider
Kong OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Installs: 317
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
pkg:composer/kong/kong-oauth2-php-provider
Requires
- php: >=5.5.0
- league/oauth2-client: ~1.0@dev
This package is not auto-updated.
Last update: 2025-12-20 23:51:18 UTC
README
This package provides Kong OAuth 2.0 support for the PHP League's OAuth 2.0 Client.
Requirements
The following versions of PHP are supported.
- PHP 5.5
- PHP 5.6
- PHP 7.0
- HHVM
Installation
Add the following to your composer.json file.
Note: Once version 1.0 of the OAuth 2.0 Client is released, you'll be able to install from composer without the
@devminimum stability flag.
{
"require": {
"kong/kong-oauth2-php-provider": "~0.0@dev",
"league/oauth2-client": "~1.0@dev"
}
}
Note: OAuth 2.0 Client v1.0 is still in dev mode so you'll need to require it explicitly in your require using the
@devminimum stability flag since composer won't pull in a dev mode dependency of a dependency.
Usage
Authorization Code Flow
See example/index.php
License
The MIT License (MIT). Please see License File for more information.