Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get users by role name - spatie/laravel-permission

User::whereHas("roles", function($q){ $q->where("name", "Member"); })->get()
Source by github.com #
 
PREVIOUS NEXT
Tagged: #users #role
ADD COMMENT
Topic
Name
2+9 =