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

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -