pixelbrackets/mattermost-poll

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Poll Slash Command for Mattermost.

2.3.0 2020-09-26 12:14 UTC

This package is auto-updated.

Last update: 2021-09-26 14:19:15 UTC


README

Version Build Status Made With License Mattermost Integration

Poll Slash Command for Mattermost.

/poll supper soup salad "taco and burito" burger

Screenshot

Requirements

  • PHP
  • MySQL

The Mattermost instance calling this service has to be version 4.2 or greater (provide »Interactive Message Buttons« feature).

Installation

  1. Clone project to desired directory
  2. Run composer install
  3. Edit .env file
  4. Initialize database
    ./bin/console doctrine:database:create
    ./bin/console doctrine:migrations:migrate
    
  5. Configure webserver to serve web directory
  6. Open homepage to see the »Request URL« needed for »Slash Commands«

Integration into Mattermost

  1. Add new »Slash Command« in each Teamspace in Mattermost
  2. Use the »Request URL« shown on the homepage of the service

Source

https://gitlab.com/pixelbrackets/mattermost-poll/

Mirror https://github.com/pixelbrackets/mattermost-poll/

Demo

🚀 https://mattermost-poll.app.pixelbrackets.de/

Usage

  • Type the slash command, followed by the poll title, followed by all answers
  • Separete the title and each answer with spaces
  • use quotes to include spaces in a string

Create a poll with a title and four answers

/poll supper soup salad "taco and burito" burger

License

GNU General Public License version 2 or later

The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.

Author

Dan Untenzu (mail@pixelbrackets.de / @pixelbrackets)

Changelog

./CHANGELOG.md

Contribution

This script is Open Source, so please use, patch, extend or fork it.