exoodev/yii2-blog

The Blog extension for the Yii2 framework

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:yii2-extension

1.0.5 2019-09-17 10:10 UTC

This package is auto-updated.

Last update: 2024-04-17 21:10:22 UTC


README

========================

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist exoodev/yii2-blog

or add

"exoodev/yii2-blog": "*"

to the require section of your composer.json.

Usage

Example backend configuration:

return [
    'modules' => [
        'blog' => [
            'class' => 'exoo\blog\Module',
            'isBackend' => true,
        ],
    ],
];

Example frontend configuration:

return [
    'modules' => [
        'blog' => [
            'class' => 'exoo\blog\Module',
        ]
    ],
];

Migration

yii migrate --migrationPath=@exoo/blog/migrations