Skip to content

Commit a9c28b4

Browse files
committedDec 25, 2013
added composer support
1 parent 650b61f commit a9c28b4

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed
 

‎CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
Change Log
22
=============================
33

4+
**December 25, 2013**
5+
6+
- (New): Added composer (pentium10)
7+
8+
**November 1, 2013**
9+
10+
- (Fix): Clear state if class $attribute is not set. (pentium10)
11+
12+
**May 7, 2013**
13+
14+
- (Enh): Added page and sort save to doReadSave() (pentium10)
15+
416
**June 3, 2011**
517

618
- (New): Added support for 'scenarios'. You can now tell your model to use remember scenario when the same model is used on multiple views. (pentium10)

‎README.md

+14
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ Resources
2727
- [Forum](http://www.yiiframework.com/forum/index.php?/topic/15847-extension-remember-filters-gridview/ "Forum")
2828
- [Clear Filters Gridview extension](http://www.yiiframework.com/extension/clear-filters-gridview "http://www.yiiframework.com/extension/clear-filters-gridview")
2929

30+
Install
31+
---------
32+
33+
We recommend installing the extension with [Composer](http://getcomposer.org/). Add this to the `require` section of your `composer.json`:
34+
35+
"pentium10/yii-remember-filters-gridview" : "dev-master"
36+
37+
You also need to include composer's autoloader:
38+
39+
```php
40+
require_once __DIR__.'/protected/vendor/autoload.php';
41+
```
42+
43+
3044
Usage
3145
---------
3246

‎composer.json

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"license": "BSD-2-Clause",
77
"support": {
88
"issues": "https://github.com/pentium10/yii-remember-filters-gridview/issues"
9+
},
10+
"require": {
11+
"php": ">=5.3.0",
12+
"yiisoft/yii": "*"
913
},
1014
"autoload": {
1115
"classmap": ["components/ERememberFiltersBehavior.php"]

0 commit comments

Comments
 (0)