Answers for "get users by role name - spatie/laravel-permission"

-1

get users by role name - spatie/laravel-permission

User::whereHas("roles", function($q){ $q->where("name", "Member"); })->get()
Posted by: Guest on April-26-2021

Code answers related to "get users by role name - spatie/laravel-permission"

Browse Popular Code Answers by Language