Since Yii2 version 2.0.4 there is the EachValidator used to validate each item in an array.
[
    // ... other rules
    ['userIDs', 'each', 'rule' => ['integer']],
]
The ['integer'] part can be every other validator object that Yii2 offers and can hold the specific arguments for the valid...