PHP Typo3 Slack Channel Bot: Chat bot to interact in Typo3 Slack channel

Recommend this page to a friend!
  Info   View files Documentation   View files View files (104)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 36 All time: 9,967 This week: 263Up
Version License PHP version Categories
t3bot 1.0The PHP License5PHP 5, Web services, Chat
Description Author

This package implements a chat bot to interact in Typo3 Slack channel.

It uses Slack API to create a chat bot that responds to several types of commands.

Currently it implements commands of several groups like: review, forge, util, beer and tell.

Picture of FN
Name: FN <contact>
Classes: 2 packages by
Country: ???
Age: 50
All time rank: 4335
Week rank: 237 Up

Details

Botty - The TYPO3 Slack Bot

Build Status Build Status Code Coverage Scrutinizer Code Quality GitHub version Support Documentatiom

Hi, I am Botty I am in each channel on typo3.slack.com, even if you do not see me. Talk to me by start a message with @T3Bot or with the command prefix.

A list of the commands I can understand is documented in the Wiki.

Developer Notes

If you want to contribute, fork this repository and send a pull request.

Requirements

This project requires PHP 7.0

Setup

# copy env file and adjust 
cp .env.example .env

# composer install
composer install

# database mgiration
./bin/doctrine-migrations --configuration=Build/migrations.xml --db-configuration=Build/migrations-db.php migrations:migrate

Unit Test

./bin/phpunit -c Build/UnitTests.xml

Coverage report

rm -rf public/docs
./bin/phpunit -c Build/UnitTests.xml --coverage-html public/docs
  Files folder image Files  
File Role Description
Files folder image.github (2 files)
Files folder imageBuild (4 files)
Files folder imageClasses (4 directories)
Files folder imageconfig (1 file)
Files folder imagemigrations (2 files)
Files folder imagepublic (2 files, 3 directories)
Files folder imageResources (1 directory)
Files folder imageTests (1 directory)
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .scrutinizer.yml Data Auxiliary data
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  .github  
File Role Description
  Accessible without login Plain text file ISSUE_TEMPLATE.md Data Auxiliary data
  Accessible without login Plain text file PULL_REQUEST_TEMPLATE.md Data Auxiliary data

  Files folder image Files  /  Build  
File Role Description
  Accessible without login Plain text file migrations-db.php Aux. Auxiliary script
  Accessible without login Plain text file migrations.xml Data Auxiliary data
  Accessible without login Plain text file UnitTests.xml Data Auxiliary data
  Plain text file UnitTestsBootstrap.php Class Class source

  Files folder image Files  /  Classes  
File Role Description
Files folder imageCommands (8 files)
Files folder imageController (3 files)
Files folder imageSlack (2 files, 1 directory)
Files folder imageTraits (3 files)

  Files folder image Files  /  Classes  /  Commands  
File Role Description
  Plain text file AbstractCommand.php Class Class source
  Plain text file BeerCommand.php Class Class source
  Plain text file BottyCommand.php Class Class source
  Plain text file ChannelCommand.php Class Class source
  Plain text file ForgeCommand.php Class Class source
  Plain text file ReviewCommand.php Class Class source
  Plain text file TellCommand.php Class Class source
  Plain text file UtilCommand.php Class Class source

  Files folder image Files  /  Classes  /  Controller  
File Role Description
  Plain text file AbstractHookController.php Class Class source
  Plain text file GerritHookController.php Class Class source
  Plain text file WebHookController.php Class Class source

  Files folder image Files  /  Classes  /  Slack  
File Role Description
Files folder imageMessage (1 file)
  Plain text file CommandResolver.php Class Class source
  Plain text file Message.php Class Class source

  Files folder image Files  /  Classes  /  Slack  /  Message  
File Role Description
  Plain text file Attachment.php Class Class source

  Files folder image Files  /  Classes  /  Traits  
File Role Description
  Plain text file ForgerTrait.php Class Class source
  Plain text file GerritTrait.php Class Class source
  Plain text file SlackTrait.php Class Class source

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file config.php Example Example script

  Files folder image Files  /  migrations  
File Role Description
  Plain text file Version20160214204059.php Class Class source
  Plain text file Version20160214210556.php Class Class source

  Files folder image Files  /  public  
File Role Description
Files folder imagehooks (2 directories)
Files folder imageResources (1 directory)
Files folder imagewhip (1 file)
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  public  /  hooks  
File Role Description
Files folder imagegerrit (1 file)
Files folder imagewebhook (1 file)

  Files folder image Files  /  public  /  hooks  /  gerrit  
File Role Description
  Accessible without login Plain text file index.php Example Example script

  Files folder image Files  /  public  /  hooks  /  webhook  
File Role Description
  Accessible without login Plain text file index.php Example Example script

  Files folder image Files  /  public  /  Resources  
File Role Description
Files folder imagePublic (4 directories)

  Files folder image Files  /  public  /  Resources  /  Public  
File Role Description
Files folder imageAssets (25 files)
Files folder imageCss (7 files)
Files folder imagefonts (1 file)
Files folder imageJavaScript (3 files)

  Files folder image Files  /  public  /  Resources  /  Public  /  Assets  
File Role Description
  Accessible without login Image file apple-touch-icon-114x114.png Icon Icon image
  Accessible without login Image file apple-touch-icon-120x120.png Icon Icon image
  Accessible without login Image file apple-touch-icon-144x144.png Icon Icon image
  Accessible without login Image file apple-touch-icon-152x152.png Icon Icon image
  Accessible without login Image file apple-touch-icon-57x57.png Icon Icon image
  Accessible without login Image file apple-touch-icon-60x60.png Icon Icon image
  Accessible without login Image file apple-touch-icon-72x72.png Icon Icon image
  Accessible without login Image file apple-touch-icon-76x76.png Icon Icon image
  Accessible without login Image file apple-touch-icon-precomposed.png Icon Icon image
  Accessible without login Image file apple-touch-icon.png Icon Icon image
  Accessible without login Plain text file browserconfig.xml Data Auxiliary data
  Accessible without login Image file favicon-160x160.png Icon Icon image
  Accessible without login Image file favicon-16x16.png Icon Icon image
  Accessible without login Image file favicon-196x196.png Icon Icon image
  Accessible without login Image file favicon-32x32.png Icon Icon image
  Accessible without login Image file favicon-96x96.png Icon Icon image
  Accessible without login Image file favicon.ico Data Auxiliary data
  Accessible without login Image file mstile-144x144.png Icon Icon image
  Accessible without login Image file mstile-150x150.png Icon Icon image
  Accessible without login Image file mstile-310x150.png Icon Icon image
  Accessible without login Image file mstile-310x310.png Data Auxiliary data
  Accessible without login Image file mstile-70x70.png Icon Icon image
  Accessible without login Image file t3bot.png Icon Icon image
  Accessible without login Image file t3bot_xmas.png Icon Icon image
  Accessible without login Image file t3bot_xmas_128.png Icon Icon image

  Files folder image Files  /  public  /  Resources  /  Public  /  Css  
File Role Description
  Accessible without login Plain text file bootstrap-theme.css Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap-theme.min.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.css.map Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file cover.css Data Auxiliary data

  Files folder image Files  /  public  /  Resources  /  Public  /  fonts  
File Role Description
  Accessible without login Plain text file glyphicons-halflings-regular.svg Data Auxiliary data

  Files folder image Files  /  public  /  Resources  /  Public  /  JavaScript  
File Role Description
  Accessible without login Plain text file bootstrap.js Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file ie10-viewport-bug-workaround.js Data Auxiliary data

  Files folder image Files  /  public  /  whip  
File Role Description
  Accessible without login Plain text file index.php Aux. Auxiliary script

  Files folder image Files  /  Resources  
File Role Description
Files folder imagePrivat (1 directory)

  Files folder image Files  /  Resources  /  Privat  
File Role Description
Files folder imageScripts (2 files)

  Files folder image Files  /  Resources  /  Privat  /  Scripts  
File Role Description
  Accessible without login Plain text file botty.php Example Example script
  Accessible without login Plain text file daemon.sh Data Auxiliary data

  Files folder image Files  /  Tests  
File Role Description
Files folder imageUnit (1 file, 4 directories)

  Files folder image Files  /  Tests  /  Unit  
File Role Description
Files folder imageCommands (9 files)
Files folder imageController (2 files)
Files folder imageFixtures (2 directories)
Files folder imageSlack (1 file)
  Plain text file BaseTestCase.php Class Class source

  Files folder image Files  /  Tests  /  Unit  /  Commands  
File Role Description
  Plain text file AbstractCommandTest.php Class Class source
  Plain text file BaseCommandTestCase.php Class Class source
  Plain text file BeerCommandTest.php Class Class source
  Plain text file BottyCommandTest.php Class Class source
  Plain text file ChannelCommandTest.php Class Class source
  Plain text file ForgeCommandTest.php Class Class source
  Plain text file ReviewCommandTest.php Class Class source
  Plain text file TellCommandTest.php Class Class source
  Plain text file UtilCommandTest.php Class Class source

  Files folder image Files  /  Tests  /  Unit  /  Controller  
File Role Description
  Plain text file GerritHookControllerTest.php Class Class source
  Plain text file WebHookControllerTest.php Class Class source

  Files folder image Files  /  Tests  /  Unit  /  Fixtures  
File Role Description
Files folder imageInvalid (5 files)
Files folder imageValid (11 files)

  Files folder image Files  /  Tests  /  Unit  /  Fixtures  /  Invalid  
File Role Description
  Accessible without login Plain text file change-merged-invalid-token.json Data Auxiliary data
  Accessible without login Plain text file change-merged.json Data Auxiliary data
  Accessible without login Plain text file patchset-created-invalid-token.json Data Auxiliary data
  Accessible without login Plain text file patchset-created.json Data Auxiliary data
  Accessible without login Plain text file webhook.json Data Auxiliary data

  Files folder image Files  /  Tests  /  Unit  /  Fixtures  /  Valid  
File Role Description
  Accessible without login Plain text file change-merged-with-added-rst.json Data Auxiliary data
  Accessible without login Plain text file change-merged-with-changed-rst.json Data Auxiliary data
  Accessible without login Plain text file change-merged-with-deleted-rst.json Data Auxiliary data
  Accessible without login Plain text file change-merged.json Data Auxiliary data
  Accessible without login Plain text file patchset-created.json Data Auxiliary data
  Accessible without login Plain text file webhook.json Data Auxiliary data
  Accessible without login Plain text file webhook_danger.json Data Auxiliary data
  Accessible without login Plain text file webhook_info.json Data Auxiliary data
  Accessible without login Plain text file webhook_notice.json Data Auxiliary data
  Accessible without login Plain text file webhook_ok.json Data Auxiliary data
  Accessible without login Plain text file webhook_warning.json Data Auxiliary data

  Files folder image Files  /  Tests  /  Unit  /  Slack  
File Role Description
  Plain text file CommandResolverTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:36
This week:0
All time:9,967
This week:263Up

For more information send a message to info at phpclasses dot org.