MCPSERV.CLUB
MyBB

MyBB

Self-Hosted

Open‑source forum software for engaging communities

Active(100)
1.2kstars
0views
Updated 4 days ago
MyBB screenshot 1
1 / 5

Overview

Discover what makes MyBB powerful

MyBB is a mature, open‑source forum engine written in **PHP 7+** that delivers a feature‑rich, scalable communication platform. It follows a classic **Model–View–Controller** architecture with a lightweight routing layer, allowing developers to hook into core logic through an extensive plugin API. The codebase is structured around a single entry point (`index.php`) that dispatches requests to `inc/plugins/` and `templates/`, keeping the runtime footprint small while still supporting complex user interactions such as private messaging, threaded discussions, and real‑time moderation tools.

Plugin & Theme System

Advanced Moderation

Multilingual & Accessibility

RESTful API

Overview

MyBB is a mature, open‑source forum engine written in PHP 7+ that delivers a feature‑rich, scalable communication platform. It follows a classic Model–View–Controller architecture with a lightweight routing layer, allowing developers to hook into core logic through an extensive plugin API. The codebase is structured around a single entry point (index.php) that dispatches requests to inc/plugins/ and templates/, keeping the runtime footprint small while still supporting complex user interactions such as private messaging, threaded discussions, and real‑time moderation tools.

Key Features

  • Plugin & Theme System – A modular framework where plugins can register hooks, extend database schemas, and add admin menu items. Themes are built on a templating engine (php-template) that supports inline CSS/JS overrides and live preview.
  • Advanced Moderation – Built‑in moderation queues, user‑role management, and IP logging. Developers can expose moderation endpoints via the REST API or customize workflows with custom plugins.
  • Multilingual & Accessibility – Translations are stored in language packs (lang/) and can be overridden at the forum or user level. The framework supports RTL languages and WCAG 2.1 compliance out of the box.

Technical Stack

LayerTechnology
BackendPHP 7.4+, MySQL 5.6+ / MariaDB, PDO for database abstraction
FrontendVanilla JS (ES5), jQuery 3.x, Bootstrap 4 for admin UI
Template EngineCustom PHP template engine with {if}, {loop} syntax
CacheFile‑based caching, optional APCu or Redis via plugins
SearchFull‑text search powered by MySQL FULLTEXT indexes; optional Solr/ElasticSearch plugin

The core is intentionally lightweight, enabling deployment on shared hosting or within a Docker container with minimal resource usage. A typical docker-compose.yml can expose MyBB on port 80, mount /var/www/html to the container, and connect to a separate MariaDB service.

Deployment & Infrastructure

MyBB is designed for self‑hosting and can run on any LAMP stack. It requires:

  • PHP 7+ with pdo_mysql, gd, and mbstring extensions.
  • A relational database (MySQL/MariaDB) with the default schema (mybb database).
  • Optional Redis or Memcached for caching.

For scalability, MyBB supports horizontal scaling by sharing the same database across multiple web servers and using a shared cache backend. The plugin system allows developers to implement rate limiting, CDN integration, or load balancing logic without touching core code.

Integration & Extensibility

  • RESTful API – Exposes endpoints for user authentication, thread creation, and message retrieval. Endpoints can be extended or secured via OAuth2 plugins.
  • Webhooks – Trigger external services on events such as new_post, user_register, or moderation_action.
  • Custom Data Fields – Plugins can add new columns to user or post tables, exposing them via the admin UI.
  • Event Hooksmybb->add_hook('event_name', 'callback_function') lets developers inject logic before or after core actions.

The extensive plugin directory (hundreds of community‑maintained extensions) demonstrates the flexibility developers enjoy when tailoring MyBB to niche use cases.

Developer Experience

The project hosts comprehensive documentation (docs.mylanguage.org) covering core APIs, plugin development guidelines, and theme customization. The community is active on the official forums, GitHub discussions, and IRC/Matrix channels, providing rapid feedback for contributors. Continuous integration pipelines run unit tests on every PR, ensuring backward compatibility and reducing merge conflicts.

Use Cases

  • Community Forums – Rapidly spin up a moderated discussion board for niche topics.
  • Support Portals – Leverage private messaging and ticket‑like thread structures to manage customer queries.
  • Learning Management Systems – Extend MyBB with LMS plugins for discussion boards, assignments, and grading.
  • Internal Knowledge Bases – Use the threaded structure as a searchable knowledge hub for enterprise teams.

Advantages

  • Performance – Lightweight core, efficient caching, and MySQL full‑text search deliver fast response times even under heavy load.
  • Flexibility – The plugin API and template system allow deep customization without forking the core.
  • Open Source & Free – No licensing fees, permissive MIT license encourages modification and redistribution.
  • Community‑Driven – Continuous feature addition through volunteer contributors keeps the platform modern and secure.

For developers seeking a proven, extensible forum engine that can be self‑hosted on modest infrastructure while still supporting complex integrations, MyBB offers a compelling blend of simplicity and power.

Open SourceReady to get started?

Join the community and start self-hosting MyBB today

Weekly Views

Loading...
Support Us

Featured Project

$30/month

Get maximum visibility with featured placement and special badges

Repository Health

Loading health data...

Information

Category
apis-services
License
LGPL-3.0
Stars
1.2k
Technical Specs
Pricing
Open Source
Database
MySQL
Docker
Community
Min RAM
512MB
Min Storage
100MB
Supported OS
LinuxWindowsmacOS
Author
mybb
mybb
Last Updated
4 days ago