eloquent group by with count code example
Example: groupby in laravel with count
$user_info = Usermeta::groupBy('browser')->select('browser', DB::raw('count(*) as total'))->get();
$user_info = Usermeta::groupBy('browser')->select('browser', DB::raw('count(*) as total'))->get();