OAuth Libraries for PHP
Here you'll find the best PHP libraries for building OAuth clients and servers.
Client Libraries
- socialconnect/auth: OAuth2/OpenID Connect components from SocialConnect project
- league/oauth2-client: OAuth 2.0 Client from the League of Extraordinary Packages
- oauth-api from PHP Classes
- Very simple OAuth 2.0 client, PHP >= 5.4 (Composer:
fkooman/oauth2-client) - OAuth2/OpenID Connect Client Library for PHP/Zend Framework 2
- chillerlan/php-oauth: a fully PSR-7/PSR-17/PSR-18 compatible OAuth1/OAuth2 client
Server Libraries
- PHP OAuth2 Server and Demo
- PHP OAuth 2.0 Auth and Resource Server and Demo
- PHP OAuth2.0 for Silex and Demo
- PHP OAuth2.0 for Symfony and Demo
- Simple OAuth (OAuth2) & OpenID Connect for Drupal
- Nette OAuth2 provider for Nette framework and Nette REST API bundle
If you would like to add a library, you can edit this page.