zabachok/yii2-vega

Simple task tracker

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

0.0.1 2017-05-08 14:06 UTC

This package is not auto-updated.

Last update: 2020-05-29 19:24:32 UTC


README

Simple personal task tracker

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist zabachok/yii2-vega "*"

or add

"zabachok/yii2-vega": "*"

to the require section of your composer.json file.

Then run module migration:

./yii migrate --migrationPath=@vendor/zabachok/yii2-vega/migrations

Activating

Add to you config file:

'modules' => [
    ...
    'vega'     => [
        'class'     => 'zabachok\vega\Module',
    ],
]

and to your menu:

    echo Nav::widget([
        'options' => ['class' => 'navbar-nav navbar-left'],
        'items' => [
        ...
            [
                'label' => 'Tasks',
                'items' => [
                    ['label' => 'Projects', 'url' => ['/vega/project/index']],
                    ['label' => 'Tasks', 'url' => ['/vega/task/index']],
                ],
            ]
        ],
    ]);