jameron/plaid 问题修复 & 功能扩展

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

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

jameron/plaid

最新稳定版本:6.0

Composer 安装命令:

composer create-project jameron/plaid

包简介

Plaid API Wrapper

关键字:

README 文档

README

This package has been built to work with Laravel. It is used for a personal project therefore it is missing a number of Plaid API endpoints. If you want to add more, please submit a pull request.

  1. Add the package to your Laravel or Lumen project:
    composer require jameron/plaid
  1. Update your .env file with the following variables:
PLAID_CLIENT_ID=
PLAID_SECRET=
PLAID_CLIENT_NAME=''
PLAID_WEBHOOK=''
  1. Publish the config file:
    php artisan vendor:publish

**NOTE Remaining steps are for Lumen only, Laravel handles the setup automatically.

  1. Add the class alias to bootstrap\app.php
    if (!class_exists('Plaid')) {
        class_alias('Plaid\Plaid', 'Plaid');
    }
  1. Create config file config/plaid.php
<?php

return [
    'api_host'    => 'https://development.plaid.com/',
    'client_id'   => env('PLAID_CLIENT_ID'),
    'secret'      => env('PLAID_SECRET'),
    'client_name' => env('PLAID_CLIENT_NAME'),
    'webhook'     => env('PLAID_WEBHOOK')
];
  1. Add the config to bootstrap\app.php
$app->configure('plaid');

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-07