PHPackages                             sdelfi/yii2-widget-datatables - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sdelfi/yii2-widget-datatables

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

sdelfi/yii2-widget-datatables
=============================

DataTables widget for Yii2 with Bootstrap 4

1.6.2(1y ago)08682MITPHP

Since May 26Pushed 1y ago2 watchersCompare

[ Source](https://github.com/sdelfi/yii2-widget-datatables)[ Packagist](https://packagist.org/packages/sdelfi/yii2-widget-datatables)[ RSS](/packages/sdelfi-yii2-widget-datatables/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (17)Used By (0)

DataTables widget for Yii2
==========================

[](#datatables-widget-for-yii2)

This extension provides the [DataTables](https://github.com/DataTables/DataTables) integration for the Yii2 framework.

[![Latest Stable Version](https://camo.githubusercontent.com/f87024bd14b1a8e9083ac7b00cde60a6b4829094fac9456f3728c6300913624c/68747470733a2f2f706f7365722e707567782e6f72672f7364656c66692f796969322d7769646765742d646174617461626c65732f762f737461626c65)](https://packagist.org/packages/sdelfi/yii2-widget-datatables) [![Total Downloads](https://camo.githubusercontent.com/bee381a22b42d1c5ec21522711283e529b44b348a0f4d67f23283d33cda2f5cd/68747470733a2f2f706f7365722e707567782e6f72672f7364656c66692f796969322d7769646765742d646174617461626c65732f646f776e6c6f616473)](https://packagist.org/packages/sdelfi/yii2-widget-datatables) [![Latest Unstable Version](https://camo.githubusercontent.com/d4be4081b88df496855b50f18d695f13390cd9f8ef5f5378ff7727bb49f69a44/68747470733a2f2f706f7365722e707567782e6f72672f7364656c66692f796969322d7769646765742d646174617461626c65732f762f756e737461626c65)](https://packagist.org/packages/sdelfi/yii2-widget-datatables) [![License](https://camo.githubusercontent.com/980d10714e5381efa8cfe997580d194b4fe37596df9be070074436cd940b00c3/68747470733a2f2f706f7365722e707567782e6f72672f7364656c66692f796969322d7769646765742d646174617461626c65732f6c6963656e7365)](https://packagist.org/packages/sdelfi/yii2-widget-datatables)

Installation
------------

[](#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 require --prefer-dist sdelfi/yii2-widget-datatables "*"

```

Command installs the datatables widget.

You can also add (instead of the second command):

```
"sdelfi/yii2-widget-datatables": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Use DataTables as any other other Yii2 widget.

```
use sdelfi\datatables\DataTables;
```

```
