danvick/yii2-daraja 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-14