PHP Authentication and Authorization

Open-source PHP projects categorized as Authentication and Authorization

Top 19 PHP Authentication and Authorization Projects

Authentication and Authorization
  1. Json Web Token

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

  2. 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
  3. PHP OAuth 2.0 Server

    A spec compliant, secure by default PHP OAuth 2.0 Server

  4. OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers.

  5. 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.

  6. paseto

    Platform-Agnostic Security Tokens

    Project mention: Build Auth Service using Axum and PASETO | dev.to | 2025-01-31

    The Auth will signed into Token using JavaScript Object Signing Encryption (JOSE), and the new and more secure than JSON Web Token signing algorithm is PASETO. PASETO stands for Platform Agnostic Security Token. If you do not familiar with this algorithm, I really recommend you to visit this page and read the references: https://paseto.io/.

  7. Opauth

    Multi-provider authentication framework for PHP

  8. Sentinel

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

  9. SaaSHub

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

    SaaSHub logo
  10. TwoFactorAuth

    PHP library for Two Factor Authentication (TFA / 2FA) (by RobThree)

  11. PHP oAuthLib

    PHP 5.3+ oAuth 1/2 Client Library

  12. OAuth 1.0 Client

    OAuth 1 Client

  13. Lock

    A flexible, driver based Acl package for PHP 5.4+

  14. SocialConnect Auth

    :atom: Social (OAuth1\OAuth2\OpenID\OpenIDConnect) sign with PHP :shipit: (by SocialConnect)

  15. Multi-Factor

    Vendor-Agnostic Two-Factor Authentication

  16. Aura.Auth

    Provides a unified interface to local and remote authentication systems.

  17. Sign in with Apple for PHP

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

  18. Hawk

    Hawk — A PHP Implementation

  19. TwitterOAuth

    The first PHP Library to support OAuth for Twitter's REST API. (by ruudk)

  20. TwitterSDK

    A simple twitter SDK to interact with Twitter api (1.1)

  21. Rinvex Authy PHP Client

    Rinvex Authy is a simple wrapper for @Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise. (by rinvex)

  22. SaaSHub

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

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

PHP Authentication and Authorization discussion

Log in or Post with

PHP Authentication and Authorization related posts

  • Build Auth Service using Axum and PASETO

    2 projects | dev.to | 31 Jan 2025
  • Demystifying Cookies and Tokens

    1 project | news.ycombinator.com | 24 Jul 2024
  • [NestJS] API DockerHub + IA + PASETO (Local)

    2 projects | dev.to | 23 Jun 2024
  • Ask HN: Helpdesk/ticketing software for small SaaS company

    2 projects | news.ycombinator.com | 14 Sep 2023
  • Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?

    5 projects | /r/PHP | 21 May 2023
  • Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)?

    1 project | /r/PHPhelp | 21 May 2023
  • Looking for PHP classes that will authenticate against existing OAuth or SAML IdP servers

    3 projects | /r/opensource | 23 Apr 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 10 Feb 2025
    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. Learn more →

Index

What are some of the best open-source Authentication and Authorization projects in PHP? This list will help you:

# Project Stars
1 Json Web Token 7,344
2 PHP OAuth 2.0 Server 6,563
3 OAuth 2.0 Client 3,684
4 HybridAuth 3,353
5 paseto 3,288
6 Opauth 1,651
7 Sentinel 1,519
8 TwoFactorAuth 1,104
9 PHP oAuthLib 1,083
10 OAuth 1.0 Client 970
11 Lock 876
12 SocialConnect Auth 551
13 Multi-Factor 142
14 Aura.Auth 132
15 Sign in with Apple for PHP 90
16 Hawk 67
17 TwitterOAuth 51
18 TwitterSDK 37
19 Rinvex Authy PHP Client 36

Sponsored
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.ai

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