Download the PHP package maylancerdev/safehaven-laravel without Composer
On this page you can find all versions of the php package maylancerdev/safehaven-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download maylancerdev/safehaven-laravel
More information about maylancerdev/safehaven-laravel
Files in maylancerdev/safehaven-laravel
Package safehaven-laravel
Short Description A concise Laravel package for easy integration with Safe Haven MFB's API, offering simplified access to banking features
License MIT
Homepage https://github.com/maylancerdev/safehaven
Informations about the package safehaven-laravel
Safe Haven MFB Laravel package
Safe Haven MFB for your Laravel project made easy
Installation
You can install the package via composer:
Publishing the config file
Usage
For more information, please refer to the package documentation.
Automatic API Token Refresh
For seamless and uninterrupted access to API endpoints, it's recommended to integrate an automated mechanism in your Laravel application. This mechanism will be responsible for generating client assertions and subsequently exchanging them for API tokens. By doing so, the API token gets refreshed automatically before it reaches its expiration, ensuring your API interactions remain consistent and uninterrupted. To implement this, simply add the provided script to your Laravel application's cron job configuration
Step 1: Import ApiRequestor
from MaylancerDev\SafeHaven
.
Step 2: Update schedule
in app/Console/Kernel.php
to refresh the token every 30 minutes.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email [email protected] instead of using the issue tracker.
Credits
- Olakunle
- All Contributors
License
The MIT License (MIT). Please see License File for more information.