PHPackages                             yiier/forum - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. yiier/forum

ActiveProject[Framework](/categories/framework)

yiier/forum
===========

Yii 2 forum

4012920[6 issues](https://github.com/yiier/forum/issues)[1 PRs](https://github.com/yiier/forum/pulls)PHP

Since Jun 12Pushed 6y ago20 watchersCompare

[ Source](https://github.com/yiier/forum)[ Packagist](https://packagist.org/packages/yiier/forum)[ RSS](/packages/yiier-forum/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

forum
=====

[](#forum)

forum based on yii2,this is an experimental product, not use for production, unless you know what you are doing

forum feature.
--------------

[](#forum-feature)

community, wiki, edit Used markdown, tags, rbac, third-party login (weibo, qq), announcements

DIRECTORY STRUCTURE
-------------------

[](#directory-structure)

```
  assets/             contains assets definition
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

```

REQUIREMENTS
------------

[](#requirements)

The minimum requirement by this application template that your Web server supports PHP 5.4.0. The Memory limit must not lower than 6MB, recommended 128MB. You can open up `requirements.php` file from root folder in browser to explore more requirements details.

INSTALLATION
------------

[](#installation)

### Install via github

[](#install-via-github)

```
clone https://github.com/yiier/forum.git

```

Then download [Composer](https://getcomposer.org/composer.phar)take the composer.phar in the web root directory,using the following command:

```
php composer.phar update --prefer-dist

```

You can then access the application through the following URL:

```
http://localhost/forum/web/

```

### Install via Composer

[](#install-via-composer)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install this application template using the following command:

```
php composer.phar create-project --prefer-dist --stability=dev yiier/forum forum

```

Now you should be able to access the application through the following URL, assuming `forum` is the directory directly under the Web root.

```
http://localhost/forum/web/

```

SETUP
-----

[](#setup)

### Database

[](#database)

Create the file `config/db-local.php` with the connection infomation for your local environment, for example:

```
return [
	'class' => 'yii\db\Connection',
	'dsn' => 'mysql:host=127.0.0.1;dbname=forum', // Don't use localhost, Because IPv4/IPv6 recognition very slow to connect to mysql
	'username' => 'root',
	'password' => '1234',
	'charset' => 'utf8',
];
```

**NOTE:** `forum.sql` in the root folder, import it into the database, this has to be done manually before you can access it.

Also check and edit the other files in the `config/` directory to customize your application.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed4e60f64c59b03101c92e4ee64bcb252973bd066225d15448354c316eace104?d=identicon)[djfly](/maintainers/djfly)

---

Top Contributors

[![djfly](https://avatars.githubusercontent.com/u/4409731?v=4)](https://github.com/djfly "djfly (20 commits)")[![qiansen1386](https://avatars.githubusercontent.com/u/1759658?v=4)](https://github.com/qiansen1386 "qiansen1386 (9 commits)")[![forecho](https://avatars.githubusercontent.com/u/1725326?v=4)](https://github.com/forecho "forecho (2 commits)")[![yiqing95](https://avatars.githubusercontent.com/u/838140?v=4)](https://github.com/yiqing95 "yiqing95 (1 commits)")

### Embed Badge

![Health badge](/badges/yiier-forum/health.svg)

```
[![Health](https://phpackages.com/badges/yiier-forum/health.svg)](https://phpackages.com/packages/yiier-forum)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
