User::whereHas("roles", function($q){ $q->where("name", "Member"); })->get()
composer require spatie/laravel-permission
php artisan permission:create-role writer web
user ,role ,permission customize laravel application