golonka/bbcodeparser
A PHP BBCode parser that converts BBCode markup into safe HTML. It supports tags, smileys, and configurable parsing rules, making it easy to render forum-style content in Laravel or any PHP application.
Consider it when:
Look elsewhere (or build) when:
To executives: This is a small, MIT-licensed PHP library that converts legacy forum markup (BBCode) into HTML. It is not a strategic investment — it is a cheap unblocker for content migration and legacy feature parity. Cost is effectively zero; the real cost is a short internal security review, because the project is unmaintained (last release 2019) and has negligible community adoption. Recommendation: adopt only if we have legacy BBCode content to render, wrap it behind our own interface so it is replaceable, and pair it with output sanitization.
To engineering: Framework-agnostic, dependency-free, MIT. Assume you own the code: pin or vendor it, add it to our dependency-review list, and verify behavior on our target PHP version before committing. Do not let raw parser output reach the browser — route it through HTMLPurifier or an equivalent allowlist, and restrict tags/attributes by user trust level. Encapsulate it behind a MarkupRenderer contract so we can swap in a maintained fork or a Markdown pipeline later without touching call sites. Cache rendered HTML at write time rather than parsing on every read.
How can I help you explore Laravel packages today?