select('group', 'key', 'value') ->get() ->mapWithKeys(function ($row) { return ["{$row->group}.{$row->key}" => $row->value]; }) ->toArray(); } }