Download the PHP package flagrow/canned-messages without Composer

On this page you can find all versions of the php package flagrow/canned-messages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package canned-messages

Canned Messages by Flagrow logo Flagrow, a project of Gravure

MIT license Latest Stable Version Total Downloads Donate Join our Discord server

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

Use Bazaar or install manually:

Updating

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

We prefer to keep our work available to everyone. In order to do so we rely on voluntary contributions on Patreon.

Security

If you discover a security vulnerability within Canned Messages, please send an email to the Gravure team at [email protected]. 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

An extension by Flagrow, a project of Gravure.


All versions of canned-messages with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
flarum/core Version ^0.1.0-beta.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package flagrow/canned-messages contains the following files

Loading the files please wait ...