Powerful, Secure, and Fast Community Forum
An open-source community forum that combines a classic forum experience with modern enterprise-grade infrastructure.
Website · Download · News · Report a Bug
MegaforBB is a community forum platform built on the enterprise-grade Forecor hybrid kernel. It combines Symfony Dependency Injection and Event Dispatcher with Laravel Eloquent ORM, with a strong focus on security, performance, and extensibility.
| Link | URL |
|---|---|
| Website | megaforbb.org |
| GitHub repository | github.com/Megabre/MegaforBB |
| Downloads | Releases |
| News & announcements | megaforbb.org/news |
- Category and subforum structure, topic prefixes, tags
- Private topics, scheduled publishing, Q&A mode
- Article / blog categories and portal homepage
- Private messaging (PM), inbox, and quota management
- Member profiles, reputation system, profile comments, profile viewers
- Online members, member list, activity feed
- Announcements, ad slots, widget system
- Multi-language support (Turkish and English included)
- Attack Mode — activates the strictest security presets in RAM during an attack
- Early-layer global rate limiting and RTBH (IP blocklist)
- NDJSON file-based security audit logs (no DB load, automatic rotation)
- Security headers (X-Frame-Options, nosniff, XSS protection, HSTS)
- CSRF protection, captcha, Stop Forum Spam integration
- Admin 2FA, invitation system, role and permission management
- Censorship / word filtering, file verification manifest
- File or Redis cache (APP_URL-based prefix isolation)
- HTML/CSS/JS minification (HtmlMinifier)
- PHP gzip compression, Varnish-compatible setup
- Meilisearch full-text search integration
- S3-compatible file storage (Flysystem)
- Plugin architecture via Event Dispatcher and PluginLoader
- Twig-based theme engine with template inheritance
- Idelist module — idea / suggestion list with voting
- Documentation module (tree-structured pages)
- RSS feed import
- Data import from XenForo, MyBB, and MegaforBB
- Forum, user, role, permission, and moderation tools
- Theme management, PWA settings, SEO / Open Graph
- Backups, cron jobs, error logs
- Contact messages, email templates
- Critical error alerts via Telegram webhook
MegaforBB runs on the Forecor hybrid kernel:
Request → public/index.php (Front Controller)
→ Forecor\Core\Application
→ Symfony DI (ContainerBuilder + auto-wiring)
→ Symfony Router & Event Dispatcher
→ Illuminate Eloquent ORM (database)
→ Twig (themes) + App layer (controllers / services / models)
| Layer | Technology |
|---|---|
| Core DI | Symfony DependencyInjection |
| Routing & Events | Symfony Routing, Event Dispatcher |
| Database | Illuminate Database (Eloquent) |
| Templates | Twig 3 |
| Search | Meilisearch (optional) |
| Cache | File / Redis |
| Storage | Local / AWS S3 (Flysystem) |
| Component | Minimum |
|---|---|
| PHP | 8.0+ (recommended: 8.3) |
| Database | MySQL 5.7+ / MariaDB 10.3+ |
| Web server | Apache (mod_rewrite) or Nginx |
| PHP extensions | PDO, mbstring, json, openssl, curl, gd or imagick |
Optional (recommended for production):
- Redis — cache and sessions
- Meilisearch — full-text search
- Varnish — HTTP cache layer
MegaforBB v1.1.3 — the first stable release — is now available and ready to use.
Download the latest package from GitHub Releases.
Extract megaforbb-upload.zip from the release archive and upload it to your hosting account.
Import the database from megaforbb-database.zip using phpMyAdmin or a similar tool.
No migrations required. The release includes a fully prepared database — just import it and you are good to go.
On your hosting, rename .env-simple to .env and edit its contents to match your website:
APP_NAME=MegaforBB
APP_ENV=Production
APP_DEBUG=false
APP_URL=https://forum.example.com
APP_KEY= # A strong random key
APP_LOCALE=en
APP_TIMEZONE=UTC
DB_HOST=127.0.0.1
DB_DATABASE=forum_db
DB_USERNAME=forum_user
DB_PASSWORD=your_password
CACHE_DRIVER=file # or redis
SESSION_DRIVER=file
MEILISEARCH_HOST=http://127.0.0.1:7700| Field | Value |
|---|---|
| Username | Megadmin |
hello@megaforbb.org |
|
| Password | 125478!! |
Change the password immediately after your first login.
The admin panel is available at /admin by default (configurable via ADMIN_PATH).
Clear the application cache and your server's opcode cache after installation. You can also use Performance → Clear Cache in the admin panel.
That's it — MegaforBB is ready to use. Enjoy!
For scheduled tasks (RSS imports, scheduled topics, etc.), set up a cron job to run every 5 minutes:
*/5 * * * * php /path/to/forum/public/cron.phpYou can also trigger cron from the Cronjobs section in the admin panel.
MegaforBB/
├── App/ # Application layer (controllers, models, services, migrations)
├── Forecor/ # Hybrid kernel (DI, router, bootstrap)
├── Inc/
│ ├── Lang/ # Language files (tr, en)
│ ├── Plugin/ # Plugins
│ └── Template/ # Themes (frontend + admin)
├── Route/ # Web, admin, and API route definitions
├── public/ # Front controller and static assets
├── Content/ # Cache, logs, backups, build
├── Library/vendor/ # Composer dependencies
├── .env # Environment configuration
└── .htaccess # Apache rules (nginx.vhost example included)
MegaforBB ships with three ready-made frontend themes:
| Theme | Description |
|---|---|
| Default | Modern default theme powered by Tailwind |
| RetroDSG | 2010 nostalgia with glass effects and dynamic typography |
| Humanizer | Classic forum look from the 2006–2015 era |
Themes can be activated and customized from the admin panel.
Plugins live in the Inc/Plugin/ directory. Each plugin follows this structure:
plugin.json— metadataplugin.php— event listener definitionsroutes.php— optional routesviews/— Twig templates
Built-in example: AI Auto Reply — automatically generates replies to newly opened topics via an AI assistant user.
From the admin panel, you can import data from:
- XenForo
- MyBB
- MegaforBB (from another installation)
Import runs step by step; progress is tracked in the panel.
Install dependencies for a development environment:
composer installOptional dev tools:
composer require --dev squizlabs/php_codesniffer friendsofphp/php-cs-fixer phpstan/phpstanWith APP_DEBUG=true, errors are shown in detail via Whoops. In production, use APP_DEBUG=false; errors are written to Content/storage/logs/.
For upgrades or custom setups, migrations can be run manually:
php Forecor/bin/migrate.php
php Forecor/bin/migrate.php --statusMegaforBB checks version.json daily via cron. The current version and file manifest are read from this URL.
MegaforBB is completely free and open source.
| Professional support | megabre.com |
| Bug reports | GitHub Issues |
| News | megaforbb.org/news |
Feel free to open an issue or submit a pull request to contribute.
© 2026 MegaforBB — Powerful, Secure, and Fast Community Forum
