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
| Layer | Technology |
|---|---|
| Backend | PHP 7.4+, MySQL 5.6+ / MariaDB, PDO for database abstraction |
| Frontend | Vanilla JS (ES5), jQuery 3.x, Bootstrap 4 for admin UI |
| Template Engine | Custom PHP template engine with {if}, {loop} syntax |
| Cache | File‑based caching, optional APCu or Redis via plugins |
| Search | Full‑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, andmbstringextensions. - A relational database (MySQL/MariaDB) with the default schema (
mybbdatabase). - 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, ormoderation_action. - Custom Data Fields – Plugins can add new columns to user or post tables, exposing them via the admin UI.
- Event Hooks –
mybb->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
Related Apps in apis-services
Mastodon
Decentralized, real‑time social networking
Discourse
Open‑source community forum platform with real‑time chat and AI
Rocket.Chat
Secure, open‑source team communication platform
Novu
Unified notification platform for multi‑channel delivery
Mattermost
Secure, self‑hosted team collaboration with chat, voice, and AI
Jitsi Meet
Free, encrypted video conferencing for everyone
Weekly Views
Repository Health
Information
Explore More Apps
Christmas Community
Family gift list to avoid double‑gifting
Fasten
Securely aggregate your health data into a personal record
Bitwarden
Secure, open‑source password manager for individuals and teams
Slash
Organize and share links with custom shortcuts
CyTube
Synchronized video watching with chat for shared playlists
Judge0 CE
Open‑source, sandboxed code execution for any application