I have used built in yii2 function to set session. I am not able to use built in yii2 login because of some requirement. So I have set session using below:
The Yii2 debugger seems to only work for web requests. How can I debug console commands (CLI)? Eg. I need to see the SQL statements that were executed during a
What is the best way to register js code in yii2 view? 1 <?php $this->registerJs( '$("document").ready(function(){ alert("hi"); });' ); ?&