PHP code example of zyblog / yii2-dwz

1. Go to this page and download the library: Download zyblog/yii2-dwz library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zyblog / yii2-dwz example snippets


'components' => [
    'view' => [
         'theme' => [
             'pathMap' => [
                '@app/views' => '@vendor/zyblog/yii2-dwz/example-views'
             ],
         ],
    ],
],

php composer.phar 

'zyblog/dwz' =>  array (
      'name' => 'zyblog/dwz',
      'version' => '1.0',
      'alias' =>
          array (
              '@zyblog/dwz' => $vendorDir . '/zyblog/yii2-dwz',
          ),
  ),