amilna/yii2-blog

Blogging module support for Yii2

Maintainers

Details

github.com/amilna/blog

Source

Issues

Installs: 499

Dependents: 1

Suggesters: 0

Security: 0

Stars: 11

Watchers: 7

Forks: 10

Open Issues: 2

Type:yii2-extension

dev-master 2017-04-11 04:42 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:51:28 UTC


README

Blogging module support for Yii2 (includes banner and gallery, support mysql and postgresql)

Installation

The preferred way to install this extension is through composer.

Since this package do not have stable release on packagist, you should use these settings in your composer.json file :

"minimum-stability": "dev",
"prefer-stable": true,
"repositories":[
		
		{
			"type": "vcs",
			"url": "https://github.com/aaiyo/yii2-kcfinder"
		}	
   ]

After, either run

php composer.phar require --prefer-dist amilna/yii2-blog "dev-master"

or add

"amilna/yii2-blog": "dev-master"

to the require section of your composer.json file.

run migration for database

./yii migrate --migrationPath=@amilna/blog/migrations

add in modules section of main config

	'gridview' =>  [
		'class' => 'kartik\grid\Module',
	],
	'blog' => [
		'class' => 'amilna\blog\Module',
		/* 'userClass' => 'dektrium\user\models\User', // example if use another user class */
	],

Usage

Once the extension is installed, check the url: [your application base url]/index.php/blog