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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -