Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/santigarcor/laratrust

Handle roles and permissions in your Laravel application
https://github.com/santigarcor/laratrust

acl admin-panel authorization laratrust laravel multiuser permissions php rbac roles secure teams

Last synced: 5 days ago
JSON representation

Handle roles and permissions in your Laravel application

Awesome Lists containing this project

README

        

# Laratrust (Laravel Package)

[![Sponsor](https://img.shields.io/badge/sponsor-30363D?style=for-the-badge&logo=GitHub-Sponsors&logoColor=#white)](//github.com/sponsors/santigarcor)
[![Latest Stable Version](https://poser.pugx.org/santigarcor/laratrust/v?style=for-the-badge)](//packagist.org/packages/santigarcor/laratrust)
[![Total Downloads](https://poser.pugx.org/santigarcor/laratrust/downloads?style=for-the-badge)](//packagist.org/packages/santigarcor/laratrust)
[![License](https://poser.pugx.org/santigarcor/laratrust/license?style=for-the-badge)](//packagist.org/packages/santigarcor/laratrust)
[![tests](https://github.com/santigarcor/laratrust/workflows/tests/badge.svg)](https://github.com/santigarcor/laratrust/actions?query=workflow%3Atests)

## Version Compatibility

| Laravel | Laratrust |
| :------------ | :-------------------------------------------------- |
| 10.x, 11.X | [8.x](//laratrust.santigarcor.me/docs/8.x/) |
| 9.x-10.x | [7.x](//laratrust.santigarcor.me/docs/7.x/) |
| 8.x | [6.x](//laratrust.santigarcor.me/docs/6.x/) |
| 7.x | [6.x](//laratrust.santigarcor.me/docs/6.x/) |
| 6.x | [6.x](//laratrust.santigarcor.me/docs/6.x/) |
| 5.6.x - 5.8.x | [5.2](//laratrust.santigarcor.me/docs/5.2/) |
| 5.3.x - 5.5.x | [5.1](//laratrust.santigarcor.me/docs/5.1/) |
| 5.0.x - 5.2.x | [4.0](//github.com/santigarcor/laratrust/tree/4.0). |

## Installation, Configuration and Usage

To install, configure and learn how to use Laratrust please go to the [Documentation](https://laratrust.santigarcor.me/).

## What does Laratrust support?

- Multiple user models.
- Multiple roles and permissions assignable to users.
- Multiple permissions assignable to roles.
- Roles and permissions verification.
- Roles and permissions caching.
- Events when roles and permissions are added, removed or synced.
- Multiple roles and permissions can be added to users within teams.
- Multiple guards for the middleware.
- A simple administration panel for roles and permissions.
- Laravel gates and policies.

## License

Laratrust is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

## Contributing

Please report any issue you find in the issues page. Pull requests are more than welcome.