emiracle/kudaping

A Laravel Package for Kudabank API

v0.0.9 2023-06-15 11:26 UTC

This package is auto-updated.

Last update: 2024-05-15 13:52:45 UTC


README

Implement KUDA bank Open API in Laravel

Badges

GitHub issues GitHub forks GitHub stars GitHub license Twitter Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

License

MIT

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

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();
    }
}