I am able to successfully create new entries with PHP when I am using basic field values that are Rich Text or Plain Text fields, but am unsure how to add Tags to an entry.
So my entry already has a field called 'tags' on it, and I thought that maybe it wanted an array of strings like so:
$entry->setFieldValues([
'tags' => array('someCoolTag', 'tagasaurus rex')
]);
I admit I do not really understand how tags work behind the scenes, and would like to correct that. Any help is great.