emiracle / kudaping
A Laravel Package for Kudabank API
v0.0.9
2023-06-15 11:26 UTC
Requires
- php: ^7.4|^8.0
- illuminate/support: ^5.0|^6.0|^7.0|^8.0|^9.0
Requires (Dev)
- mockery/mockery: ^1.2
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.3
- satooshi/php-coveralls: >0.7
- scrutinizer/ocular: ^1.1
README
Implement KUDA bank Open API in Laravel
Badges
License
Installation
Install kudaping with composer
composer require emiracle/kudaping
Configuration
Publish the configuration file using this command:
php artisan vendor:publish --provider="eMiracle\Kudaping\KudapingServiceProvider"
Environment Variables
To run this project, you will need to add the following environment variables to your .env file
KUDA_API_KEY
KUDA_EMAIL_ADDRESS
KUDA_ENVIRONMENT
Documentation
Contributing
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.
Usage/Examples
<?php namespace App\Http\Controllers; use eMiracle\Kudaping\Kudaping; class KudaController extends Controller { private Kudaping $kuda; public function __construct() { $this->kuda = new Kudaping(); } public function getBankList(): array { return $this->kuda->getBankList(); } }