New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

fractorysolutions/lhv-connect

LHV bank's CONNECT service for Laravel 6+, fork of mihkullorg/lhv-connect
5,398 1
Install
composer require fractorysolutions/lhv-connect
Latest Version:2.0.4
PHP:^7.2.5 | ^8.0
Laravel:6 · 7 · 8
Older releases:5
License:MIT
Last Updated:Aug 12, 2021
Links: GitHub  ·  Packagist
Maintainer: fractorysolutions

LHV CONNECT API package for Laravel 6+

A fork of mihkelallorg/lhv-connect.

Quickstart

$ composer require fractorysolutions/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();

Related Packages

mihkullorg/lhv-connect

LHV bank's CONNECT service for Laravel 6

5,470 10
jorzelalves/laravel-asaas

Package for integration with Asaas.

2,802 0
tropikal-ai/connect-filament

TROPIKAL Connect integration for Laravel Filament.

1,084 0
studiosessions/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscriptio...

25 0
lucasvdh/laravel-iban

A Laravel plugin for IBAN validation

6,977 7

Version History

Version Released PHP Laravel License
2.0.4 ^7.2.5 | ^8.0 ^6.0 || ^7.0 || ^8.0 MIT
2.0.3 ^7.2.5 ^6.0 || ^7.0 || ^8.0 MIT
2.0.2 ^7.2.5 ^6.0 || ^7.0 MIT
2.0.1 ^7.2 ^6.0 MIT
2.0.0 ^7.2 ^6.0 MIT