Download the PHP package akika/laravel-stanbic without Composer
On this page you can find all versions of the php package akika/laravel-stanbic. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download akika/laravel-stanbic
More information about akika/laravel-stanbic
Files in akika/laravel-stanbic
Package laravel-stanbic
Short Description An unofficial package for Stanbic
License MIT
Homepage https://github.com/akika/laravel-stanbic
Informations about the package laravel-stanbic
Laravel Stanbic
An unofficial package for Stanbic bank; following the ISO20022 standard.
Prerequisites
Configure sftp first before you proceed: https://laravel.com/docs/12.x/filesystem#sftp-driver-configuration
Add the SFTP configs in the config/filesystem.php. Below is the recommended set of configs. Ensure you set the corresponding env values in your .env as well:
Installation
You can install the package via composer:
You can publish the config file with (optional):
Environment Variables
Add the following environment variables to your .env file:
Usage
Credit Transfer Initiation with Pain00100103
This package provides a Laravel implementation for generating ISO 20022 PAIN.001.001.03 XML messages for credit transfers.
Basic Usage
- The generated XML files follow the ISO 20022 PAIN.001.001.03 standard and are automatically stored with unique filenames.
- Stanbic bank will pick the generated file from the configured
stanbic.diskfilesystem disk.
Reading Stanbic Status Reports
This package provides automated reading of Stanbic bank status reports (PAIN.002.001.03) from your configured storage disk.
Manual Execution
The command automatically scans for XML files containing pain.002.001.03 in the configured disk and processes each one by dispatching the event.
Scheduled Execution
For Laravel 11 and above, add the command to your routes/console.php.
For Laravel 10 and below, add the command to your app/Console/Kernel.php schedule:
Event Handling
The command dispatches a Pain00200103ReportReceived event for each status report found. Hook into this event to process the reports:
Create an Event Listener
Register the Listener
For Laravel 11 and above, In your AppServiceProvider.php's boot method:
For Laravel 10 and below, In your app/Providers/EventServiceProvider.php:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Akika Digital
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-stanbic with dependencies
illuminate/contracts Version ^8.0||^10.0||^11.0||^12.0
illuminate/support Version ^8.0||^10.0||^11.0||^12.0
saloonphp/xml-wrangler Version ^1.4
spatie/laravel-package-tools Version ^1.16||^1.12