PHPackages                             nterms/yii2-pagesize-widget - 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. nterms/yii2-pagesize-widget

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

nterms/yii2-pagesize-widget
===========================

Widget for enabling dynamic page size selection on GridView

v2.0.1(11y ago)38295.0k↓22.7%18[3 issues](https://github.com/nterms/yii2-pagesize-widget/issues)[1 PRs](https://github.com/nterms/yii2-pagesize-widget/pulls)2MITPHP

Since Aug 8Pushed 6y ago8 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (4)Used By (2)

yii2-pagesize-widget
====================

[](#yii2-pagesize-widget)

PageSize widget is an extension to the [Yii2](https://github.com/yiisoft/yii2) [GridView](http://www.yiiframework.com/doc-2.0/yii-grid-gridview.html) that enables changing the size of a page on GridView.

[![Latest Stable Version](https://camo.githubusercontent.com/f5d0af8d4d1c020db598e1c815c0fb0e1d6d4fc2340650b83b1689d5c279f6ba/68747470733a2f2f706f7365722e707567782e6f72672f6e7465726d732f796969322d7061676573697a652d7769646765742f762f737461626c65)](https://packagist.org/packages/nterms/yii2-pagesize-widget) [![Total Downloads](https://camo.githubusercontent.com/4a4463ae6562c637ee1dc009108a56bc163d80d017d0437a1b9a1f8ddda0eea3/68747470733a2f2f706f7365722e707567782e6f72672f6e7465726d732f796969322d7061676573697a652d7769646765742f646f776e6c6f616473)](https://packagist.org/packages/nterms/yii2-pagesize-widget) [![Latest Unstable Version](https://camo.githubusercontent.com/7a8f1c98f8be38e8ddc51ed9097087412ce6a4ff1c825ac09bc40b3786e7cebc/68747470733a2f2f706f7365722e707567782e6f72672f6e7465726d732f796969322d7061676573697a652d7769646765742f762f756e737461626c65)](https://packagist.org/packages/nterms/yii2-pagesize-widget) [![License](https://camo.githubusercontent.com/f1020727c2b8816b1799b2e0eb9b26a8afd99745bd1a7755e48821ca25b40a16/68747470733a2f2f706f7365722e707567782e6f72672f6e7465726d732f796969322d7061676573697a652d7769646765742f6c6963656e7365)](https://packagist.org/packages/nterms/yii2-pagesize-widget)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist nterms/yii2-pagesize-widget "*"

```

or add

```
"nterms/yii2-pagesize-widget": "*"

```

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

Usage
-----

[](#usage)

To use this widget with a GridView, add this widget to the view where the GridView is:

```

```

and set the `filterSelector` property of GridView as shown in following example.

```
