pixelbrackets / mattermost-poll
Poll Slash Command for Mattermost.
Requires
- php: ^7.0.8
- ext-iconv: *
- helhum/dotenv-connector: ^2.0
- symfony/apache-pack: ^1.0
- symfony/console: ^3.4
- symfony/flex: ^1.0
- symfony/framework-bundle: ^3.4
- symfony/lts: ^3
- symfony/monolog-bundle: ^3.2
- symfony/orm-pack: ^1.0
- symfony/yaml: ^3.4
Requires (Dev)
- symfony/maker-bundle: ^1.2
- symfony/web-server-bundle: ^3.4
Conflicts
Replaces
This package is auto-updated.
Last update: 2024-11-07 01:13:42 UTC
README
Poll Slash Command for Mattermost.
/poll supper soup salad "taco and burito" burger
Requirements
- PHP
- MySQL
The Mattermost instance calling this service has to be version 4.2 or greater (provide »Interactive Message Buttons« feature).
Installation
- Clone project to desired directory
- Run
composer install
- Edit
.env
file - Initialize database
./bin/console doctrine:database:create ./bin/console doctrine:migrations:migrate
- Configure webserver to serve
web
directory- Development / Test: Run
php bin/console server:start 127.0.0.1:8000
- Production: Configure webserver for Symfony Apps
and export
.env
file
- Development / Test: Run
- Open homepage to see the »Request URL« needed for »Slash Commands«
Integration into Mattermost
- Add new »Slash Command« in each Teamspace in Mattermost
- 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
Contribution
This script is Open Source, so please use, patch, extend or fork it.