PHPackages                             flagrow/canned-messages - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. flagrow/canned-messages

AbandonedArchivedFlarum-extension[Utility &amp; Helpers](/categories/utility)

flagrow/canned-messages
=======================

Use bbcode to display custom and recurring messages

0.1.0(8y ago)23811MITPHPPHP &gt;=7.0

Since Mar 27Pushed 8y ago1 watchersCompare

[ Source](https://github.com/flagrow/canned-messages)[ Packagist](https://packagist.org/packages/flagrow/canned-messages)[ RSS](/packages/flagrow-canned-messages/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Canned Messages by [![Flagrow logo](https://avatars0.githubusercontent.com/u/16413865?v=3&s=20)](https://avatars0.githubusercontent.com/u/16413865?v=3&s=20) [Flagrow](https://discuss.flarum.org/d/1832-flagrow-extension-developer-group), a project of [Gravure](https://gravure.io/)
========================================================================================================================================================================================================================================================================================

[](#canned-messages-by--flagrow-a-project-of-gravure)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/flagrow/canned-messages/blob/master/LICENSE.md) [![Latest Stable Version](https://camo.githubusercontent.com/ceeb096c400f8cb97d8e491a4bf82a02ce13061741b5942d44faae3cea2d7446/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c6167726f772f63616e6e65642d6d657373616765732e737667)](https://packagist.org/packages/flagrow/canned-messages) [![Total Downloads](https://camo.githubusercontent.com/8880031b8f8d4b2ba28db17f477b0ac35326144c597df9062192efe5cfa7a758/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c6167726f772f63616e6e65642d6d657373616765732e737667)](https://packagist.org/packages/flagrow/canned-messages) [![Donate](https://camo.githubusercontent.com/03062e082acb09f5df3398a22aafb3ebc9558c3a9b8fddd5b96d658a34b002f6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617472656f6e2d737570706f72742d79656c6c6f772e737667)](https://www.patreon.com/flagrow) [![Join our Discord server](https://camo.githubusercontent.com/d73628b17bbfd9568a0c942585827f1391f81c21bd56e3cac269c6e2e746c469/68747470733a2f2f646973636f72646170702e636f6d2f6170692f6775696c64732f3234303438393130393034313331353834302f656d6265642e706e67)](https://flagrow.io/join-discord)

This extension adds a new bbcode which will display predefined messages created by an administrator. The messages can be updated anytime in the admin panel and will immediately reflect the new content on the forum.

Installation
------------

[](#installation)

Use [Bazaar](https://discuss.flarum.org/d/5151-flagrow-bazaar-the-extension-marketplace) or install manually:

```
composer require flagrow/canned-messages
```

Updating
--------

[](#updating)

```
composer update flagrow/canned-messages
php flarum migrate
php flarum cache:clear
```

Configuration
-------------

[](#configuration)

You can add new messages under the "Canned Messages" tab of the admin panel. Each message has a unique key that must be inserted along with the bbcode. You can define a different content for different locales. The script will first try to find a message for the given key and locale, then the given key and no locale, and fallbacks to a default text if no message is found.

By default the extension uses the `[CANNED-MESSAGE]` bbcode, but you can change it to something else in the "advanced settings". Keep in mind this will break all existing canned messages using a different tag. If you want to use a custom tag name, better set it early.

Make sure to clear the forum cache with `php flarum cache:clear` and your browser cache after changing the tag name.

There are currently no usage permissions. Anybody can use any of the message keys in their posts.

Messages are not secret, the full list is loaded with the forum in order to provide the live preview. Anybody with knowledge of the Flarum data store can read the list of existing messages.

Support our work
----------------

[](#support-our-work)

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on [Patreon](https://www.patreon.com/flagrow).

Security
--------

[](#security)

If you discover a security vulnerability within Canned Messages, please send an email to the Gravure team at . All security vulnerabilities will be promptly addressed.

Please include as many details as possible. You can use `php flarum info` to get the PHP, Flarum and extension versions installed.

Links
-----

[](#links)

- [Flarum Discuss post](https://discuss.flarum.org/d/10547-flagrow-canned-messages)
- [Source code on GitHub](https://github.com/flagrow/canned-messages)
- [Report an issue](https://github.com/flagrow/canned-messages/issues)
- [Download via Packagist](https://packagist.org/packages/flagrow/canned-messages)

An extension by [Flagrow](https://flagrow.io/), a project of [Gravure](https://gravure.io/).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2964d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (4 commits)")

---

Tags

extensionmessagesbbcodeflarumflagrow

### Embed Badge

![Health badge](/badges/flagrow-canned-messages/health.svg)

```
[![Health](https://phpackages.com/badges/flagrow-canned-messages/health.svg)](https://phpackages.com/packages/flagrow-canned-messages)
```

###  Alternatives

[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)[fof/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
