laravel分页操纵数据

I want add list of column having specific value e.g 1 in new column i.e field in every row in pagination. but i am not getting any column in simple foreach, as we get in get() call call in laravel.

$user = ToolData::where('sku','=',$q)->orWhere('asin','=',$q)->orWhere('location','=',$q)->paginate(10);
foreach ($user as $key => $value) {
  $arrVal = (array)$value;
  $keys = array_keys($arrVal, 1);
  $value->mgm = implode(', ', $keys);
}

i was doing something like this... i know i am doing something wrong here but help me how can i do things here?