vanitokurason / orderlist
Module for orders listing
Package info
github.com/vanitokurason/orderlist
Type:yii2-extension
pkg:composer/vanitokurason/orderlist
dev-master
2023-01-22 21:58 UTC
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2026-04-23 05:01:43 UTC
README
Module for orders listing
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist vanitokurason/orderlist "*"
or add
"vanitokurason/orderlist": "dev-master"
to the require section of your composer.json file.
Usage
Add to main.config:
'modules' => [ 'orderlist' => [ 'class' =>’vanitokurason\orderlist\Orderlist' ] ]
Once the extension is installed, simply use it in your code by :
<?= \vanitokurason\orderlist\AutoloadExample::widget(); ?>
To enable caching add at config db.php:
return [ 'enableSchemaCache' => true, 'schemaCacheDuration' => 120, 'schemaCache' => 'cache', ];