yii2 - How can I call a console command in web application in Yii 2.0 -
i have console command generate user report. want call same web application. using yii 2.0.0 beta version.i tried follow answers given in post how call console command in web application action in yii?
since yii 2.0 structure different yii 1.1 ,i errors if try include command/userreportcontroller.php .can guide me on this?
you should use extension https://github.com/vova07/yii2-console-runner-extension
Comments
Post a Comment