A lightweight, extendable forum framework in plain PHP.
Project details
flatbb is a streamlined forum solution designed for simplicity and extensibility. Built with PHP, it supports SQLite and MySQL while providing a plugin marketplace for AI integration. With features like a Markdown editor, user notifications, and customizable layouts, flatbb empowers users to create engaging community spaces effortlessly.
flatbb is a lightweight forum solution built in plain PHP (version 8.1+) that supports both SQLite and MySQL (version 5.7+). Designed with a flat structure, flatbb does not rely on any frameworks, Composer, or build steps, making it an ideal choice for developers looking for simplicity and efficiency. Its interface mimics the popular Discourse and Flarum platforms, featuring a three-column layout and a user-friendly experience.
CLAUDE.md, docs/PLUGIN.md, docs/HOOKS.md, and docs/API.md.flatbb promotes efficiency and ease of use with a range of command-line tools for administration and plugin management:
php flatbb cron # execute scheduled jobs
php flatbb plugin:sync # register plugins
php flatbb plugin:publish <id> # publish plugin to the marketplace
php flatbb search:rebuild # rebuild search index
php flatbb upgrade # perform core upgrades
The plugin development process is straightforward. Start by reviewing https://www.flatbb.com/dev/plugins.md and use the provided example in plugins/hello/plugin.php. AI assistants can facilitate coding by following specifications outlined in CLAUDE.md.
core/ # Kernel handling db, auth, hooks, plugins, etc.
app/ # Request handlers and views
assets/ # CSS and JavaScript files
plugins/ # Folder for each plugin
data/ # Configuration and database files
uploads/ # Public user files
docs/ # Documentation and guides
flatbb stands out as a manageable, extendable forum platform suitable for developers seeking maximal control without the overhead of complex dependencies and systems. For more details, visit the official site at flatbb.com.
Comments
0Start the conversation
Share the first comment.