The PHP OAuth Connector library provides an easy-to-use interface for implementing OAuth 2.0 authentication in PHP applications. Whether you are working with implicit grant, authorization code, or password grant, this library simplifies the integration process and handles token generation, verification, and user authentication.
-
Supports multiple OAuth 2.0 grant types:
-
Implicit Grant
-
Authorization Code Grant
-
Password Grant
-
PKCE (Proof Key for Code Exchange)
-
Easy setup and configuration
-
Token validation using a PEM certificate
-
Compatible with all major PHP frameworks (Laravel, Yii, Symfony, etc.)
Autoload support with Composer
-
PHP 8.1 or later
-
Composer for managing dependencies
- Implicit Grant
- Authorization Code Grant
- Password Grant
- PKCE (Proof Key for Code Exchange)
This library is open-sourced software licensed under the MIT license.