Skip to content
forked from artkost/yii2-qa

The Questions and Answers module inspired by Stack Overflow

License

Notifications You must be signed in to change notification settings

graid2030/yii2-qa

 
 

Repository files navigation

Questions and Answers for Yii 2

Extension provides web QA inspired by Stack Overflow.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist artkost/yii2-qa "*"

or add

"artkost/yii2-qa": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your application configuration as follows:

return [
	'modules' => [
		'qa' => 'artkost\qa\Module',
		'userClass' => 'app\models\User',
		'userNameFormatter' => 'getUserName'
		...
	],
	...
];

Install Migrations

php yii migrate/up --migrationPath=@vendor/artkost/yii2-qa/migrations

You can then access QA through the following URL:

http://localhost/path/to/index.php?r=qa

About

The Questions and Answers module inspired by Stack Overflow

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.6%
  • CSS 4.4%
  • JavaScript 1.0%