定制 ziaadini/yii2-open-banking 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ziaadini/yii2-open-banking

Composer 安装命令:

composer require ziaadini/yii2-open-banking

包简介

Yii2 Open Banking Service

README 文档

README

Open banking extension for Yii 2


Yii2 Open Banking

Openbanking is an extension for integrating the service calls of various banking platforms, including Faraboom, Finotech, Shaheen, and Shahkar.

This extension enables the unified management of calling various banking services for the Yii framework 2.0.

For license information check the LICENSE-file.

Installation

Using Composer (Preferred Method):

The preferred way to install this extension is through composer:

composer require --prefer-dist ziaadini/yii2-open-banking"*"

Alternative Method:

If you prefer adding the openbanking extension to your composer.json file manually, you can do so by adding the following entry to the require section:

{
  "require": {
    "ziaadini/yii2-open-banking": "*"
  }
}

After adding the entry, save the composer.json file and run the following command in the terminal or command prompt within your project directory:

composer update

This command will fetch and install the openbanking extension and its required dependencies into your Yii 2 project.

Configuration

To use this extension, you have to configure the openbanking module in your application configuration:

return [
    //....
    'modules' => [
       'openbanking' => [
            'class' => 'sadi01\openbanking\Module'
        ],
    ]
];

and you have to configure the openbanking component in your application configuration:

return [
    //....
    'components' => [
       'openBanking' => [
            'class' => 'sadi01\openbanking\components\OpenBanking',
            'bsVersion' => 4 //your project bs version
        ],
    ]
];

DB Migrations

Run module migrations:

php yii migrate --migrationPath=@ziaadini/openbanking/migrations

Or, Add migrations path in console application config:

'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [],
        'migrationPath' => [
            '@vendor/ziaadini/yii2-open-banking/src/migrations',
            '@app/migrations'
        ]
    ],
],

How To Use

add to your code:

Yii::$app->openBanking->call('','',[])

Advanced config

统计信息

  • 总下载量: 54
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2024-09-17