2017 © Pedro Peláez
 

library slacker-iugu

Get information from http://c.iugu.com in your slack

image

edbizarro/slacker-iugu

Get information from http://c.iugu.com in your slack

  • Sunday, October 23, 2016
  • by edbizarro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Slacker Iugu - Slack Slash command Iugu handler

Packagist Build Status StyleCI Codacy Badge, (*1)

Based and inspired by spatie/laravel-slack-slash-command, (*2)

First of all setup a Slash command and install spatie/laravel-slack-slash-command package into a Laravel app., (*3)

Usage

Follow this steps to use this package in your Laravel installation, (*4)

1. Require it on composer

composer require edbizarro/slacker-iugu

2. Load service provider

You need to update your config/app.php configuration file to register our service provider, adding this lines on providers array:, (*5)

// config/app.php
'providers' => [
    ...
    Spatie\SlashCommand\SlashCommandServiceProvider::class,
    Edbizarro\Slacker\Iugu\Providers\SlackerIuguServiceProvider::class,
];

Configuration

You need to publish the package configuration file. To do this, run php artisan vendor:publish on terminal. This will publish a slacker-iugu-handler.php file on your configuration folder like this:, (*6)

<?php

return [
    /*
     * The token provided by iugu.
     */
    'token' => env('IUGU_API_TOKEN'),
    'handlers' => [
        Edbizarro\Slacker\Iugu\Handlers\IuguCustomerHandler::class,
        Edbizarro\Slacker\Iugu\Handlers\IuguSubscriptionHandler::class,
    ],
];

Note that this file uses environment variables, it's a good practice put your secret keys in your .env file adding this lines on it:, (*7)

IUGU_API_TOKEN="YOUR_KEY"

And you're good to go., (*8)

The Versions

23/10 2016

dev-master

9999999-dev

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016

dev-develop

dev-develop

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016

v0.1.5

0.1.5.0

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016

v0.1.4

0.1.4.0

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016

v0.1.3

0.1.3.0

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016

v0.1.2

0.1.2.0

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016

v0.1.1

0.1.1.0

Get information from http://c.iugu.com in your slack

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php command bot slack iugu laravel-slack

23/10 2016