edbizarro/slacker-iugu 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

edbizarro/slacker-iugu

Composer 安装命令:

composer require edbizarro/slacker-iugu

包简介

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

README 文档

README

Packagist Build Status StyleCI Codacy Badge

Based and inspired by spatie/laravel-slack-slash-command

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

Usage

Follow this steps to use this package in your Laravel installation

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:

// 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:

<?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:

IUGU_API_TOKEN="YOUR_KEY"

And you're good to go.

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固