input('gfx',[]) as $key => $gfx){ $g = Gfx::where('key',$key)->first(); $g->value = $gfx; $g->save(); } logAdmin(__METHOD__,__CLASS__,null); \Artisan::call('client'); return redirect()->back()->with(['message' => __('GFX of website updated')]); } }