eloquent-sortable
bouncer
eloquent-sortable | bouncer | |
---|---|---|
2 | 12 | |
1,342 | 3,386 | |
0.9% | - | |
6.1 | 5.8 | |
about 1 month ago | about 2 months ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eloquent-sortable
-
What is the correct way to store position of items related to a parent model ?
You can just store a sort order field on the model or use a package like this: https://github.com/spatie/eloquent-sortable
- How to Deploy Prod with Tests?
bouncer
-
Best way to only allow a user to view their own models?
Bouncer on the other hand supports scoped permission assignments where the assigned permission applies to a specific model only.
- How can I add simple Roles to Laravel Breeze
-
How do you handle different policies on one resource depending on the controller called?
That'd be great honestly, but I haven't found anything similar yet. I took a look at Bouncer but it doesn't seem to solve the problem either, just resource-based authorization too.
-
A Complete Guide To Managing User Permissions In Laravel Apps
As well as using Spatie's Laravel Permission package, there are other packages that can be used to add roles and permissions to your application. For example, you could use Bouncer or Laratrust.
-
CRM for shipping company, how to develop ?
There are a few open source Laravel packages for managing roles and permissions. See https://github.com/spatie/laravel-permission or https://github.com/JosephSilber/bouncer.
-
Implementing RBAC in Laravel Tutorial
In this tutorial, you'll learn how to implement RBAC in Laravel using Bouncer. Bouncer is a PHP package that lets you add roles and abilities to your Eloquent models.
- RoleBased Permissions
- What Laravel permission package do you usually use? Does anyone come with Laravel Gate and Policy?
-
Multi-tenancy/user roles - tutorial suggestions
I only have experience with Bouncer but it has worked well for me. As a basic hypothetical scenario, you can create different roles and abilities such as:
-
Roles And Permissions in Laravel 8
Another option is bouncer https://github.com/JosephSilber/bouncer
What are some alternatives?
laravel-tags - Add tags and taggable behaviour to your Laravel app
laravel-permission - Associate users with roles and permissions
laravel-excludable - Easily exclude model entities from eloquent queries
laravel-mysql-spatial - MySQL Spatial Data Extension integration with Laravel.
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
CASL - CASL is an isomorphic authorization JavaScript library which restricts what resources a given user is allowed to access
laravel-medialibrary - Associate files with Eloquent models
laravel-fortify-demo - Demo of Laravel authentication using Fortify
cms - Multilingual PHP CMS built with Laravel and bootstrap
laratrust - Handle roles and permissions in your Laravel application
laravel-translatable - Making Eloquent models translatable
laravel-rbac-tutorial - Code for Laravel RBAC Tutorial