PHP OAuth 2.0 Server

A spec compliant, secure by default PHP OAuth 2.0 Server (by thephpleague)

PHP OAuth 2.0 Server Alternatives

Similar projects and alternatives to PHP OAuth 2.0 Server

  1. Laravel

    The Laravel Framework.

  2. Nutrient

    Nutrient - The #1 PDF SDK Library. Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.

    Nutrient logo
  3. Symfony

    The Symfony PHP framework

  4. oauth2-proxy

    A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.

  5. Pomerium

    Pomerium is an identity and context-aware reverse proxy for zero-trust access to web applications and services.

  6. PHP Dotenv

    Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.

  7. skeleton

    A skeleton repository for League Packages (by thephpleague)

  8. php-jwt

    PHP package for JWT

  9. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  10. http-message

    The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231

  11. OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers.

  12. Json Web Token

    A simple library to work with JSON Web Token and JSON Web Signature

  13. Sign in with Apple for PHP

    PHP library to verify and validate Apple IdentityToken and authenticate a user with Apple ID.

  14. AutoRoute

    Automatically maps HTTP requests to PHP action classes.

  15. google-api-php-client

    A PHP client library for accessing Google APIs

  16. OAuth2 Server

    documentation for the oauth2-server-php library

  17. Nyholm PSR-7

    A super lightweight PSR-7 implementation

  18. Sentinel

    A framework agnostic authentication & authorization system. (by cartalyst)

  19. HybridAuth

    Open source social sign on PHP Library. HybridAuth goal is to act as an abstract api between your application and various social apis and identities providers such as Facebook, Twitter and Google.

  20. jwt-auth

    🔐 JSON Web Token Authentication for Laravel & Lumen (by PHP-Open-Source-Saver)

  21. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better PHP OAuth 2.0 Server alternative or higher similarity.

PHP OAuth 2.0 Server discussion

Log in or Post with

PHP OAuth 2.0 Server reviews and mentions

Posts with mentions or reviews of PHP OAuth 2.0 Server. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-04.
  • Mobile application using website's PHP OAuth
    3 projects | /r/PHPhelp | 4 Mar 2023
  • What is the best way to implement an SSO for several existing web apps?
    3 projects | /r/PHP | 25 Nov 2022
    For creating a PHP OAuth2 server take a look at https://oauth2.thephpleague.com/ it is not a complete server, but will do most of the work for you.
  • The PHPer's Guide to OAuth
    7 projects | dev.to | 21 Nov 2022
    For the server side, I'll use the OAuth 2.0 server library. The implementation here is more complex, as there are many moving parts that need to be in place.
  • oAuth2 server for SPA app
    3 projects | /r/PHP | 1 Oct 2022
    I looked at the phpleague oauth2-server and there, they say that a SPA (front end in angular or react) should use Authorization code grant and not password grant (it seems password grant is not recommended to use anymore).
  • Oauth Authentication In Laravel: Social Login With Laravel Socialite
    2 projects | dev.to | 5 Jul 2022
    Laravel Passport facilitates full OAuth2 server implementation for Laravel Apps in less time. Developing an OAuth2 server from scratch can be tedious and time-consuming, but Laravel Passport is a local OAuth 2 server for Laravel apps. The Laravel Passport package embodies routes, middleware, and database migrations to develop an authorization server that will return access tokens for giving access permission to server resources. It uses the League OAuth2 Server package as a dependency and has a straightforward, easy-to-learn, and easy-to-implement language structure.
  • Zitadel: The best of Auth0 and Keycloak combined
    6 projects | news.ycombinator.com | 17 May 2022
    Disclosure: I work for FusionAuth.

    Depends on what you are looking for.

    If you want a standalone auth server, you can use FusionAuth in docker/docker-compose: https://fusionauth.io/docs/v1/tech/installation-guide/docker

    You can also package up a library; most major languages have one or more OAuth/OIDC libraries: https://github.com/doorkeeper-gem/doorkeeper for Ruby, https://spring.io/projects/spring-security for Spring/Java, https://oauth2.thephpleague.com/ for PHP, https://pypi.org/project/oauthlib/ for Python.

    https://oauth.net/code/ has a further selection of libraries in a variety of languages.

  • Is this a good way to secure my REST API?
    2 projects | /r/PHPhelp | 15 May 2022
  • RFC: Sealed classes
    7 projects | /r/PHP | 2 Mar 2022
    I completely agree with this!! Sometimes there's too much hubris in OSS; classes made final, methods made private- because the author has made their mind up about how the library should work and be used. But sometimes it's not possible to imagine every use case. If software is extensible and someone breaks their app by extending your library and doing something wrong, that's their problem. Take a look at this for example: https://github.com/thephpleague/oauth2-server/issues/885 here the authors don't want to make it more extensible because some people might encode too many claims into their tokens and run into problems with header size. Ffs get off your high horse and let people use their own judgement !! /rant
  • What library that can be used to implement simple user authentication?
    1 project | /r/PHPhelp | 22 Jan 2022
    https://github.com/thephpleague/oauth2-server is also good
  • Weekly "ask anything" thread
    8 projects | /r/PHP | 6 Sep 2021
    Otherwise, if I need something larger, then I would go towards OAuth and than in particular OAuth2 from the PHP league. It provides a good framework to work with to implement authentication in your project. Setting up is a bit of work, but when it works, you don't need to look at it again.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic PHP OAuth 2.0 Server repo stats
10
6,564
9.1
1 day ago

Sponsored
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io

Did you know that PHP is
the 14th most popular programming language
based on number of references?