PHP code example of herroffizier / yii2-columnized

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

    

herroffizier / yii2-columnized example snippets


echo \herroffizier\yii2columnized\Columnized::widget([
    // data provider (ensure that pagination is disabled!)
    'dataProvider' => $dataProvider,
    // column count
    'columns' => 4,
    // item view
    'itemView' => '@app/views/common/_item',
]);