for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace sample\controllers\web;
use yii\web\Controller;
class DefaultController extends Controller
{
/**
* Just a placeholder action to check if the webserver is working
* @return string
*/
public function actionIndex()
return 'sample site ok';
}