定制 banckle/helpdesk-laravel 二次开发

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

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

banckle/helpdesk-laravel

Composer 安装命令:

composer require banckle/helpdesk-laravel

包简介

This is a Laravel Package to use Banckle.Helpdesk SDK for PHP in Laravel applications quickly and easily

README 文档

README

#Banckle.Helpdesk for Laravel

This is a Laravel Package to use Banckle.Helpdesk SDK for PHP in Laravel applications quickly and easily.

Installation

Add the following lines to your composer.json file.

require: {
	"banckle/helpdesk-sdk-php": "dev-master",		
	"banckle/helpdesk-laravel": "dev-master"
}

Run from terminal.

composer update

Add package to the list of providers. In config/app.php, add the following line to the providers array.

'Banckle\Helpdesk\HelpdeskServiceProvider',

Publish config files from the terminal.

php artisan config:publish banckle/helpdesk-laravel

Edit the new config file in the config/packages/banckle/helpdesk-laravel and enter your Banckle API Key, email & password.

return array(
    'banckleAccountUri' => 'https://apps.banckle.com/api/v2',
    'banckleHelpdeskUri' => 'https://helpdesk.banckle.com/public/api/v1',    
    'apiKey' => '',
    'email' => '',
    'password' => ''
);

In config/packages/banckle, rename helpdesk-laravel to helpdesk

Usage

Anywhere in your application when you need to access class, just do:

// To Generate token
BanckleHelpdesk::getToken();

BanckleHelpdesk::get($apiName, $token);

This will return you object of class and you can access properties and methods of class.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2014-11-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固