PHP code example of chd7well / yii2-wizard

1. Go to this page and download the library: Download chd7well/yii2-wizard 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/ */

    

chd7well / yii2-wizard example snippets


  $tabs = [
  		[
  			'tabtitle'=>'Test1',
  			'tabcontent'=>'<h2>Test1</h2>blabla',		
  		],
  		[
  		'tabtitle'=>'Test2',
  		'tabcontent'=>'<h2>Test2</h2>blabla',
  		],
  		[
  		'tabtitle'=>'Test3',
  		'tabcontent'=>'<h2>Test3</h2>blabla',
  		],
  ];
    
   echo Wizard::widget(['tabs'=>$tabs]);