2017 © Pedro Peláez
 

symfony-bundle hipchat-bundle

Provides simple hipchat notification service - requires Buzz

image

nixilla/hipchat-bundle

Provides simple hipchat notification service - requires Buzz

  • Thursday, March 30, 2017
  • by nixilla
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Hipchat Bundle for Symfony

Very basic and simple Hipchat integration. Currently it only provides notification to single room. But if you would like to extend it please feel free to send pull request., (*1)

Build Status Coverage Status, (*2)

Installation

Install with composer:, (*3)

composer require nixilla/hipchat-bundle

Add budle to AppKernel:, (*4)

<?php

// app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // other bundles here,
            new Nixilla\HipchatBundle\NixillaHipchatBundle()
        ];

        return $bundles;
    }
}

Configure parameters.yml:, (*5)

hipchat.token: tbc
hipchat.room: tbc
hipchat.domain: tbc

Usage

Inject hipchat service in to your service:, (*6)

your.service:
    class: \YourClass
    arguments: [ "@hipchat.notifier" ]

Use in your class:, (*7)

<?php

class YourClass
{
    private $hipchat; // inject it via constructor

    public function yourMethod()
    {
        $this->hipchat->notify($colour = 'red', $message = 'Hello', $format = 'text', $notify = false);        
    }
}

The Versions

30/03 2017

dev-master

9999999-dev https://github.com/nixilla/hipchat-bundle

Provides simple hipchat notification service - requires Buzz

  Sources   Download

MIT

The Requires

 

The Development Requires

hipchat

30/03 2017
16/01 2017
13/01 2017

0.0.2

0.0.2.0 https://github.com/nixilla/hipchat-bundle

Provides simple hipchat notification service - requires Buzz

  Sources   Download

MIT

The Requires

 

The Development Requires

hipchat

13/01 2017

0.0.1

0.0.1.0 https://github.com/nixilla/hipchat-bundle

Provides simple hipchat notification service - requires Buzz

  Sources   Download

MIT

The Requires

 

The Development Requires

hipchat