Now i have this table called
config
$config = Config::pluck('value','name')->all();
Array
(
[_method] => PUT
[_token] => FvpYFD6GeVaNIHTOwquycLlarhLuNoL6MiLwSqkJ
[site_title] => title
[site_description] => description
[site_keywords] => keyword1,keyword2
[taxonomy_paginate] => 20
[comment_disqusEnable] => on
[comment_disqusUsername] => username
)
You can update multiple records using a loop. For example:
$configs = Config::all();
foreach ($configs as $config) {
$config->name = 'new name';
$config->value = 'new value';
$config->save();
}