kerox/messenger
Kerox Messenger is a flexible PHP library for adding private messaging to your app. It provides threads, participants, and messages out of the box, with a storage-agnostic design, Doctrine support, and optional Laravel integration for quick setup.
Consider it when:
Look elsewhere when:
To executives: This is a free, MIT-licensed PHP library that lets us ship a Facebook Messenger channel — order updates, support replies, rich carousels — in a fraction of the time of a from-scratch Graph API integration, with no vendor contract or per-message fee. The trade-off is maturity: it is a small, single-maintainer project with limited public adoption, so we should treat it as a component we may need to fork and own rather than a supported product. Recommended framing: approve a time-boxed pilot to validate the channel; if Messenger proves valuable, budget a small amount of engineering ownership rather than assuming the library will be maintained for us.
To engineering: It is a typed model layer over the Messenger Send API — messages, attachments, templates, quick replies, sender actions — with PSR-friendly HTTP and Laravel integration. It removes schema guesswork and keeps our payloads correct. The caveats are the ones you'd expect from a low-adoption package: read the source before depending on it, pin the version, wrap it behind our own interface so it can be swapped or forked, and add contract tests against the Graph API so upstream drift shows up in CI rather than in production.
How can I help you explore Laravel packages today?