Download the PHP package tugmaks/yii2-cached-dataprovider without Composer
On this page you can find all versions of the php package tugmaks/yii2-cached-dataprovider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tugmaks/yii2-cached-dataprovider
More information about tugmaks/yii2-cached-dataprovider
Files in tugmaks/yii2-cached-dataprovider
Download tugmaks/yii2-cached-dataprovider
More information about tugmaks/yii2-cached-dataprovider
Files in tugmaks/yii2-cached-dataprovider
Vendor tugmaks
Package yii2-cached-dataprovider
Short Description Cached data provider
License MIT
Package yii2-cached-dataprovider
Short Description Cached data provider
License MIT
Keywords yii2cached dataprovider
Please rate this library. Is it a good library?
Informations about the package yii2-cached-dataprovider
Yii2 DataProvider caching decorator
Simple decorator for dataprovider
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json
file.
Usage example
First, you need to configure CacheResolver service in container
Second, instead of passing yii\data\DataProviderInterface object directly to data widget, you have to decorate it in this way:
Now pass $cachedDataProvider to data widget.
All versions of yii2-cached-dataprovider with dependencies
PHP Build Version
Package Version
The package tugmaks/yii2-cached-dataprovider contains the following files
Loading the files please wait ....