vanitokurason/orderlist

Module for orders listing

Installs: 12

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2023-01-22 21:58 UTC

This package is auto-updated.

Last update: 2024-04-23 00:43:02 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',
];