PHP Roles

Open-source PHP projects categorized as Roles

Top 6 PHP Role Projects

  1. bouncer

    Laravel Eloquent roles and abilities.

  2. SaaSHub

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

    SaaSHub logo
  3. filament-shield

    The easiest and most intuitive way to add access management to your Filament Panel; Resources, Pages & Widgets through `spatie/laravel-permission`

    Project mention: Handle authorization in Filament: Policies, Roles & Guards | dev.to | 2025-08-05

    ✅ Use FilamentUser to control access to the admin panel ✅ Use Laravel policies for clean, scalable access control ✅ For role-based systems, consider Filament Shield Plugin or Spatie Laravel Permission (my favorites) ✅ Mind the guards, soft deletes, and policy naming

  4. laratrust

    Handle roles and permissions in your Laravel application

  5. Sentinel

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

  6. roles-and-permissions

    This is a lightweight package that allows you assign roles and permissions to any Laravel model, or on a pivot table (many to many relationship).

  7. Laravel Permission Manager

    A comprehensive and advanced permission management system for Laravel applications. This package provides a robust role-based access control (RBAC) system with support for wildcard permissions, blade directives, Artisan commands, and a fluent API.

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 Roles discussion

Log in or Post with

PHP Roles related posts

  • A Complete Guide To Managing User Permissions In Laravel Apps

    4 projects | dev.to | 15 Jun 2022
  • Multi auth on the same table with sanctum?

    1 project | /r/laravel | 17 Jul 2021

Index

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

# Project Stars
1 bouncer 3,576
2 filament-shield 2,800
3 laratrust 2,276
4 Sentinel 1,524
5 roles-and-permissions 62
6 Laravel Permission Manager 38

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

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