定制 vortexphp/forum 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vortexphp/forum

最新稳定版本:v0.7.0

Composer 安装命令:

composer create-project vortexphp/forum

包简介

Community forum application built with VortexPHP framework

README 文档

README

A modern community forum application built with PHP 8.2 and VortexPHP. It includes discussions, moderation tools, private messaging, notifications, and responsive UI workflows for day-to-day community management.

Forum Screenshot 01

Performance

Typical forum page render benchmark: 2.99 ms.

VortexPHP is optimized for very low-latency page delivery.

Features

  • User accounts: registration, login, logout, profile pages, and account settings.
  • Structured forum: categories, thread creation, threaded replies, pagination, and tags.
  • Rich post flow: markdown rendering, inline post editing, and post likes.
  • Thread management: bookmark/unbookmark threads and a dedicated bookmarks page.
  • Moderation controls: lock, pin/sticky, and delete thread/post actions for moderators.
  • Safety and abuse prevention: CSRF protection, auth middleware, role guards, and request throttling.
  • Community tools: report/flag thread and post endpoints.
  • Notifications: in-app notifications list with read-state handling.
  • Private messages: inbox, conversation view, async feed endpoint, and async send endpoint.
  • Search helpers: suggestion endpoint for faster content discovery.
  • Localization: multi-language support (en, bg) via translation files.
  • Admin panel at /admin (vortexphp/admin): CRUD for categories, tags, posts, and users via app/Admin/Resources (see config/admin.php). User passwords are hashed on create/update (App\Observers\UserPasswordObserver).

Tech Stack

  • Backend: PHP 8.2, VortexPHP framework, vortexphp/admin
  • Frontend: Twig templates, Tailwind CSS 4
  • Content parsing: league/commonmark
  • Database: SQLite by default (configurable via .env)

Quick Start

1) Install dependencies

composer install
npm install

2) Configure environment

cp .env.example .env

Set values in .env (minimum required):

  • APP_KEY (generate a secure random key)
  • APP_URL
  • DB_DRIVER / DB_DATABASE (or MySQL/PostgreSQL variables if used)

3) Run migrations

composer run migrate

4) Build assets

npm run build

After composer install / update, package assets (including admin CSS) are published into public/ automatically. To run that step manually: composer run publish-assets.

For local CSS watch mode:

npm run dev

5) Start the application

composer run serve

Available Composer Scripts

  • composer run publish-assets - copy vortex package assets (e.g. public/css/admin.css)
  • composer run serve - start local development server
  • composer run migrate - apply database migrations
  • composer run migrate:down - rollback last migration batch
  • composer run test - run test suite
  • composer run doctor - run environment diagnostics
  • composer run smoke - run smoke checks

Screenshots

Forum Screenshot 02 Forum Screenshot 03 Forum Screenshot 04 Forum Screenshot 05

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-04-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固