Угловая символическая ссылка node_modules для iCloud .nosync игнорировать не работает
$variable = 'one';
// ofc you could put the whole list in the in_array()
$list = ['one','two','three'];
if(in_array($variable,$list)){
echo "yep";
} else {
echo "nope";
}