PHP code example of peng / yii2-evaluation

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

    

peng / yii2-evaluation example snippets


<?= \peng\evaluation\RadioButtonMatrix::widget([
	'id' => 'self-evalution',
	'questions' => ['Strength of Mind', 'Open Communication', 'Leadership',
		'Understanding', 'Teamwork', 'Integrity', 'Originality', 'Notification',
	],
	'scale' => ['min' => 0, 'max' => 5],
	'sections' => ['2015 Scores', '2016 Scores'],
	'enableComment' => true,
]); 

php composer.phar