1. Start web server:

    basic/yii serve
    
  2. You can then access the application through the following URL:

    http://localhost:8080/index.php?r=di
    
  3. The sample code is located in the following folder:

    basic/writer
    
  4. Sample application configuration

    basic/config/web.php:14