mihkullorg/lhv-connect 问题修复 & 功能扩展

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

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

mihkullorg/lhv-connect

Composer 安装命令:

composer require mihkullorg/lhv-connect

包简介

LHV bank's CONNECT service for Laravel 6

README 文档

README

Quickstart

$ composer require mihkullorg/lhv-connect

NB! Service provider Mihkullorg\LhvConnect\LaravelLhvConnectServiceProvider::class is automatically registered.

In terminal run

$ php artisan vendor:publish

Open file config/lhv-connect.php and fill out the config. You can fill in info about several bank accounts and certifications.

Now you can create new LhvConnect object. The Config::get parameter lhv-connect.test means that the file lhv-connect.php and the array with the key 'test' is passed on.

$lhv = new LhvConnect(Config::get('lhv-connect.test'));

Test the connection. If there's no connection, Exception with 503 should be thrown.

$lhv->makeHeartbeatGetRequest();

Retrieve a message from LHV inbox

$message = $lhv->makeRetrieveMessageFromInboxRequest();

Delete the message from LHV inbox

$lhv->makeDeleteMessageInInboxRequest($message);

Retrieve all messages. This gets you all the messages but it also deletes all the messages from the inbox.

$messages = $lhv->getAllMessages();

统计信息

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

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固