This package allows you to manage user permissions and roles in a database. If you're using multiple guards we've got you covered as well. Every guard will have its own set of permissions and roles that can be assigned to the guard's users. 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. 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. 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. This package allows for users to be associated with permissions and roles. Every role is associated with multiple permissions. A Role and a Permission are regular Eloquent models.

Features

  • A permission can be given to any user
  • A permission can be revoked from a user
  • Or revoke & add new permissions in one go
  • You can check if a user has a permission
  • Or you may pass an integer representing the permission id
  • You can check if a user has Any of an array of permissions

Project Samples

Project Activity

See All Activity >

Categories

Security

License

MIT License

Follow Laravel permission

Laravel permission Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Laravel permission!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Security Software

Registered

2021-06-16