All Projects → spatie → Laravel Permission

spatie / Laravel Permission

Licence: mit
Associate users with roles and permissions

Programming Languages

PHP
23972 projects - #3 most used programming language
Blade
752 projects

Projects that are alternatives of or similar to Laravel Permission

Nova Permission
A Laravel Nova tool for Spatie's laravel-permission library
Stars: ✭ 294 (-97.07%)
Mutual labels:  laravel, permission, secure
Laratrust
Handle roles and permissions in your Laravel application
Stars: ✭ 1,799 (-82.05%)
Mutual labels:  laravel, secure
Urpm
urpm 是一套基于Laravel封装的后台用户管理权限系统,能够让开发者不用再关心权限问题,实现后台功能的快速开发。
Stars: ✭ 118 (-98.82%)
Mutual labels:  laravel, permission
Guardian
Eloquent Guardian is a simple permissions system for your users. While there are many other packages for permissions, this one solves everything in the most eloquent way.
Stars: ✭ 121 (-98.79%)
Mutual labels:  laravel, permission
Permissionmanager
Admin interface for managing users, roles, permissions, using Backpack CRUD
Stars: ✭ 363 (-96.38%)
Mutual labels:  laravel, permission
Laravel Oh Generators
This package extends the core file generators that are included with Laravel 5 or later.
Stars: ✭ 96 (-99.04%)
Mutual labels:  laravel
Elasticsearch
Use SQL statements to query elasticsearch
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Lara Lens
Laravel package for display diagnostic (config, database, http connections...)
Stars: ✭ 96 (-99.04%)
Mutual labels:  laravel
Flex Env
🌳 Manage your .env file in Laravel projects through artisan
Stars: ✭ 95 (-99.05%)
Mutual labels:  laravel
Addchat Laravel
AddChat Laravel is a Laravel chat package. Live chat widget for Laravel that also includes multi-user chat, group permissions, customer support chat & more.
Stars: ✭ 99 (-99.01%)
Mutual labels:  laravel
Destinystatus
Destiny Status code base
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Laranuxt
Laravel and Nuxt.js boilerplate
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Laravel Tracer
Shows the path of each blade file loaded in a template
Stars: ✭ 96 (-99.04%)
Mutual labels:  laravel
Pilothouse
A command line app for managing a LEMP local development environment based on Docker.
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Jcasbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Java
Stars: ✭ 1,335 (-86.68%)
Mutual labels:  permission
Laravel Aspect
aspect oriented programming Package for laravel framework
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Laravel piwik
An Interface to Piwik's Analytics API for Laravel (Composer Package).
Stars: ✭ 95 (-99.05%)
Mutual labels:  laravel
Laraestimate
LaraEstimate is a complete Estimates/Quotes System made with Laravel 7 and VueJS.
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Hrms
Human Resource Management System automation using Laravel 5.2
Stars: ✭ 98 (-99.02%)
Mutual labels:  laravel
Laravel Google Translate
This package makes using the Google Translate API in your laravel app a breeze with minimum to no configuration, clean syntax and a consistent package API.
Stars: ✭ 97 (-99.03%)
Mutual labels:  laravel

Social Card of Laravel Permission

Associate users with permissions and roles

Sponsor

If you want to quickly add authentication and authorization to Laravel projects, feel free to check Auth0's Laravel SDK and free plan at https://auth0.com/developers.

Latest Version on Packagist Total Downloads

Documentation, Installation, and Usage Instructions

See the DOCUMENTATION for detailed installation and usage instructions.

What It Does

This package allows you to manage user permissions and roles in a database.

Once installed you can do stuff like this:

// Adding permissions to a user
$user->givePermissionTo('edit articles');

// Adding permissions via a role
$user->assignRole('writer');

$role->givePermissionTo('edit articles');

Because all permissions will be registered on Laravel's gate, you can check if a user has a permission with Laravel's default can function:

$user->can('edit articles');

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

This package is heavily based on Jeffrey Way's awesome Laracasts lessons on permissions and roles. His original code can be found in this repo on GitHub.

Special thanks to Alex Vanderbist who greatly helped with v2, and to Chris Brown for his longtime support helping us maintain the package.

And a special thanks to Caneco for the logo

Alternatives

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].