承接 anwar/abkash 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

anwar/abkash

Composer 安装命令:

composer require anwar/abkash

包简介

Laravel Bkash payment gateway for Bangladesh bKash a mobile payment service.

README 文档

README

A package for verify bkash marchant payment recived.

Requirements

Laravel >=5.1
PHP >= 5.5.9

Installation

For Laravel >= 5.5 you need to follow these steps

  1. Run
    composer require anwar/abkash
    
  2. Run for publish config file
php artisan vendor:publish --provider Anwar\Abkash\AbkashServiceProvider --force true

For Laravel < 5.5 you need to follow these steps

  1. Run
    composer require anwar/abkash
    
  2. Add service provider to config/app.php file.
    'providers' => [
        ...
        Anwar\Abkash\AbkashServiceProvider::class,
    ],
    'aliases' => [
        ...
        Anwar\Abkash\Faceds\AbkashFaced::class,
    ],
  3. Run for publish config file
php artisan vendor:publish --provider Anwar\Abkash\AbkashServiceProvider --force true

For using

<?php

/**
 * @Author: anwar
 * @Date:   2018-02-07 11:13:24
 * @Last Modified by:   anwar
 * @Last Modified time: 2018-02-07 11:32:48
 */
return [
	"Abkash" => [
		'username' => '', //username of your marchant account
		'password' => '', //password of your marchant account
		'mobile' => '',  //mobile of your marchant account
	],
];

After config

You use like this

<?php

namespace App\Http\Controllers;

use Abkash;

class HomeController extends Controller {
	/**
	 * Create a new controller instance.
	 *
	 * @return void
	 */
	public function __construct() {
		$this->middleware('auth');
	}

	/**
	 * Show the application dashboard.
	 *
	 * @return \Illuminate\Http\Response
	 */
	public function index() {

		return view('home', compact('Abkash'));
	}
}

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固