update json laravel code example
Example: Updating JSON Column in laravel
$affected = DB::table('users')
->where('id', 1)
->update(['options->enabled' => true]);
$affected = DB::table('users')
->where('id', 1)
->update(['options->enabled' => true]);