https://github.com/kriptograf/yii2-forum
Yii2 forum module
https://github.com/kriptograf/yii2-forum
Last synced: about 1 year ago
JSON representation
Yii2 forum module
- Host: GitHub
- URL: https://github.com/kriptograf/yii2-forum
- Owner: kriptograf
- Created: 2016-07-15T21:00:25.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-15T21:15:42.000Z (almost 10 years ago)
- Last Synced: 2025-06-11T05:44:02.199Z (about 1 year ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# yii2-forum
@TODO:
*Admin interface*
This is a simple Yii2 forum module. Logged in users can create posts and comment in forum categories.
If you have questions drop me a message at benas@paulikas.eu or skype: benas.paulikas
### 1. Download
Yii2-forum can be installed using composer. Run following command to download and install Yii2-forum:
```bash
*composer require "benaspaulikas/yii2-forum:dev-master"*
```
### 2. Configure
Add following lines to your main configuration file:
```php
'forum' => [
'class' => 'benaspaulikas\forum\Module',
'modelMap' => [
'User' => 'common\models\User'
],
]
]
```
### 3. Update database schema
```bash
$ php yii migrate/up --migrationPath=@vendor/benaspaulikas/yii2-forum/migrations
```