PHPackages                             fire-scheme/bulletin-board - 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. fire-scheme/bulletin-board

ActiveLibrary

fire-scheme/bulletin-board
==========================

bulletin-board

1.0.0(5y ago)111MITPHP

Since Jan 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Michael-i/bulletin-board)[ Packagist](https://packagist.org/packages/fire-scheme/bulletin-board)[ RSS](/packages/fire-scheme-bulletin-board/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

bulletin-board \[公告板组件\]
========================

[](#bulletin-board-公告板组件)

组件提供公告板一套接口，开箱即用

项目初始化
-----

[](#项目初始化)

1.初始化数据库，\\bulletin-board\\doc\\database.sql

2.数据库文件配置，\\bulletin-board\\src\\Config\\database.php

3.组件支持用户部门权限隔离，可在\\bulletin-board\\src\\Server\\BaseServer.php 配置用户信息和部门信息

接口：
---

[](#接口)

### 一、管理后台接口

[](#一管理后台接口)

#### 1.公告板分类

[](#1公告板分类)

（1）获取公告板分类列表 admin/BulletinBoardClassController-&gt;get\_list\_page

（2）保存公告板分类 admin/BulletinBoardClassController-&gt;save

（3）删除公告板分类 admin/BulletinBoardClassController-&gt;delete

#### 2.公告板

[](#2公告板)

（1）获取列表 admin/BulletinBoardController-&gt;get\_list\_page

（2）保存公告板 admin/BulletinBoardController-&gt;save

（3）删除公告板 admin/BulletinBoardController-&gt;delete

（4）获取公告板详情 admin/BulletinBoardController-&gt;get\_detail

### 二，客户端API接口

[](#二客户端api接口)

#### 1.公告板

[](#1公告板)

（1）获取公告板分类列表 api/BulletinBoardClassController-&gt;get\_list

（2）获取公告板列表 api/BulletinBoardController-&gt;get\_list

（3）获取公告板列表 api/BulletinBoardController-&gt;get\_detail

（4）获取我的公告板 api/BulletinBoardController-&gt;get\_my\_list

（5）保存公告板 api/BulletinBoardController-&gt;save

（6）删除公告板 api/BulletinBoardController-&gt;delete

### 使用示例：直接初始化控制器并调用其方法，按自己所需配置路由接口

[](#使用示例直接初始化控制器并调用其方法按自己所需配置路由接口)

```
use FireScheme\BulletinBoard\Controller\admin\BulletinBoardClassController;
$controller = new BulletinBoardClassController();
$controller->get_list();

```

### 组件提供了入口文件 index.php

[](#组件提供了入口文件-indexphp)

#### 1.默认路由地址： model/controller/method

[](#1默认路由地址-modelcontrollermethod)

\[模块名称\]/\[控制器名称小写下划线分割\]/\[方法\]

例：admin/bulletin\_board/get\_list

#### 2.nginx配置：

[](#2nginx配置)

```
server {
        listen       80;
        server_name  bb.com;
        root    "/bulletin-board/src";
        location / {
            index  index.html index.htm index.php l.php;
           autoindex  off;

            if (!-e $request_filename) {
                rewrite  ^/(.*)$  /index.php?s=$1  last;
                break;
            }
        }

        location ~ \.php(.*)$  {
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_param  PATH_INFO  $fastcgi_path_info;
            fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
            include        fastcgi_params;
        }

    }

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1949d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/adf19ee2516c71703d59cd1a2cd4208ac4dc14a897a6db37b158c00889a11f12?d=identicon)[fire-scheme](/maintainers/fire-scheme)

---

Top Contributors

[![Michael-i](https://avatars.githubusercontent.com/u/30683378?v=4)](https://github.com/Michael-i "Michael-i (4 commits)")

### Embed Badge

![Health badge](/badges/fire-scheme-bulletin-board/health.svg)

```
[![Health](https://phpackages.com/badges/fire-scheme-bulletin-board/health.svg)](https://phpackages.com/packages/fire-scheme-bulletin-board)
```

PHPackages © 2026

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