PHP code example of rklandesverband / yii2-datatables
1. Go to this page and download the library: Download rklandesverband/yii2-datatables 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/ */
rklandesverband / yii2-datatables example snippets
use rklandesverband\datatables\DataTables;
$searchModel = new ModelSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
public $depends = [
...
'rklandesverband\datatables\DataTablesAsset',
...
];
=======
DataTables widget for Yii2
===========================
This extension provides the [DataTables](https://github.com/DataTables/DataTables) integration for the Yii2 framework.
[![Latest Stable Version](https://poser.pugx.org/rklandesverband/yii2-imagecropmassenupload/v/stable)](https://packagist.org/packages/rklandesverband/yii2-imagecropmassenupload)
[![Total Downloads](https://poser.pugx.org/rklandesverband/yii2-imagecropmassenupload/downloads)](https://packagist.org/packages/rklandesverband/yii2-imagecropmassenupload)
[![Latest Unstable Version](https://poser.pugx.org/rklandesverband/yii2-imagecropmassenupload/v/unstable)](https://packagist.org/packages/rklandesverband/yii2-imagecropmassenupload)
[![License](https://poser.pugx.org/rklandesverband/yii2-imagecropmassenupload/license)](https://packagist.org/packages/rklandesverband/yii2-imagecropmassenupload)
Installation
------------
The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
With Composer installed, you can then install the extension using the following commands:
composer global
use rklandesverband\datatables\DataTables;
$searchModel = new ModelSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);