danvick/yii2-daraja
Composer 安装命令:
composer require danvick/yii2-daraja
包简介
Yii2 extension for integrating with Safaricom's Daraja API
关键字:
README 文档
README
==============
Yii2 extension for integrating with Safaricom's Daraja API
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist danvick/yii2-daraja "*"
or add
"danvick/yii2-daraja": "*"
to the require section of your composer.json file.
To always use the latest version from Github, in your composer.json, add this repository to the repositories section.
{
...
"repositories": [
{
"type": "vcs",
"url": "https://github.com/danvick/yii2-daraja"
}
],
}
Setup
The extension is used as an application component and configured in the application configuration as such:
'components' => [ ... 'daraja' => [ 'class' => Daraja::class, ], ]
You also should configure the extension's commands to use them.
'controllerMap' => [
],
Usage
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-14