PHP Authorization

Open-source PHP projects categorized as Authorization

Missing quite a few other open source projects in this space like SuperTokens (https://supertokens.com) and Keycloak.

Top 15 PHP Authorization Projects

  • OAuth 2.0 Client

    Easy integration with OAuth 2.0 service providers.

  • Project mention: Best social login library for PHP ("sign in with Apple/Google/Facebook" etc.)? | /r/PHPhelp | 2023-05-21

    League/oauth2-client has a lot of implementations

  • bouncer

    Laravel Eloquent roles and abilities.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • laratrust

    Handle roles and permissions in your Laravel application

  • huge

    Simple user-authentication solution, embedded into a small framework.

  • Sentinel

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

  • PHP-Auth

    Authentication for PHP. Simple, lightweight and secure.

  • Project mention: PHPAuth String Encryption | /r/PHPhelp | 2023-12-06

    It may be helpful here to be specific about which "PHPAuth" project you're talking about. A quick google brings up at least 2 projects with similar names - https://github.com/PHPAuth/PHPAuth and https://github.com/delight-im/PHP-Auth - the latter has a recently opened issue about encryption of PII

  • OpenID-Connect-PHP

    Minimalist OpenID Connect client

  • SaaSHub

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

    SaaSHub logo
  • shield

    Authentication and Authorization for CodeIgniter 4 (by codeigniter4)

  • laravel-authz

    An authorization library that supports access control models like ACL, RBAC, ABAC in Laravel.

  • aphiria

    A simple, extensible REST API framework for PHP

  • Project mention: Another question about preferred MVC frameworks that are not Laravel or Symfony | /r/PHP | 2023-12-07
  • authorization

    PSR7 Middleware for authorization

  • AAuth

    Hierarchical Rol-Permission Based Laravel Auth Package with Limitless Hierarchical Level of Organizations

  • laravel-2fa

    This package allow you to enable simple two-factor authentication in your Laravel applications. It stores tokens locally and notify users about their token via mail, SMS or any custom channel. Includes native conditionnal check to trigger or not 2FA, using known devices, IP addresses or IP locations. (by Hydrat-Agency)

  • laravel-authorization

    Declarative permission, role and policy-based authorization, inspired by ASP.NET.

  • authz-php-sdk

    Authz PHP SDK

  • 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 Authorization related posts

  • PHP + Cerbos: Revolutionizing Authorization in Laravel applications

    4 projects | /r/PHP | 16 Sep 2023
  • Checking if a user is logged in - which of these approaches is "most correct"?

    1 project | /r/PHPhelp | 10 Jun 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
  • Any good PHP authentication library?

    1 project | /r/webdev | 11 Apr 2023
  • log in page encryption.. shouldn't that be done client side?

    2 projects | /r/PHPhelp | 20 Feb 2023
  • I start my journey this year

    1 project | /r/PHP | 1 Feb 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 OAuth 2.0 Client 3,603
2 bouncer 3,389
3 laratrust 2,158
4 huge 2,141
5 Sentinel 1,502
6 PHP-Auth 1,045
7 OpenID-Connect-PHP 573
8 shield 343
9 laravel-authz 267
10 aphiria 138
11 authorization 74
12 AAuth 36
13 laravel-2fa 9
14 laravel-authorization 6
15 authz-php-sdk 2

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com