Setting Values

You must set the value for a checkboxes field type with a key or keys from the available options:

$entry->example = "foo";

You can set multiple values with an array:

$entry->example = ["foo", "bar"];