Top PHP Auth Libraries 2025

GitHub Libraries PHP Auth Libraries

spatie/laravel-permission 12K +29

Added by sizovs added 1 week ago

Associate users with roles and permissions

tymondesigns/jwt-auth 11K

Added by sizovs added 4 days ago

JSON Web Token Authentication for Laravel & Lumen

lcobucci/jwt 7K +3

Added by sizovs added 4 days ago

A simple library to work with JSON Web Token and JSON Web Signature based on the RFC 7519.

thephpleague/oauth2-server 6K

Added by sizovs added 1 day ago

league/oauth2-server is a standards compliant implementation of an OAuth 2.0 authorization server written in PHP which makes working with OAuth 2.0 trivial.

laravel/socialite 5K +5

Added by sizovs added 4 days ago

Laravel Socialite provides an expressive, fluent interface to OAuth authentication

thephpleague/oauth2-client 3K +1

Added by sizovs added 2 days ago

Easy integration with OAuth 2.0 service providers – Google, Facebook, etc.

josephsilber/bouncer 3K -1

Added by sizovs added 2 days ago

Bouncer is an elegant, framework-agnostic approach to managing roles and abilities for any app using Eloquent models.

santigarcor/laratrust 2K

Added by sizovs added 1 day ago

Handle roles and permissions in your Laravel application

404labfr/laravel-impersonate 2K

Added by sizovs added 1 day ago

Laravel Impersonate is a plugin that allows you to authenticate as your users. Better than loginAsId().

php-casbin/php-casbin 1K +1

Added by sizovs added 6 days ago

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

Join libs.tech

...and unlock some superpowers

GitHub

We won't share your data with anyone else.