If you want to write the where clause as an array, the code should look like this:
$programs = Programs::find()->where(['>=', 'close_date', $today])->all();
Check the official documentation for more details:
Additionally, you can specify arbitrary operators as follows: A condition ['>=', 'id', 10] will result in the following SQL expression: id >= 10 .
source share