vdespa/vtiger 问题修复 & 功能扩展

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

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

vdespa/vtiger

Composer 安装命令:

composer require vdespa/vtiger

包简介

Vtiger Web Services PHP Client Library

README 文档

README

No Maintenance Intended

Vtiger Web Services PHP Client Library (vtwsphpclib)

Composer based Vtiger Web Services Client.

Build Status

Travis-CI: Build Status

Installation

The recommended way to install vtwsphpclib is with Composer. Composer is a dependency management tool for PHP.

Specify vtwsphpclib as a dependency in your composer.json file:

{
	"require": {
  		"vdespa/vtiger": "0.1"
	}
}

In case you are new to Composer, you need to include the file /vendor/autoload.php file.

Usage

Creating the WSClient object

use Vdespa\Vtiger\WSClient;

$url = 'http://example.com/';

$config = [
	'auth' => [
		'username' => 'YOURVTIGERUSERNAME',
		'accesskey' => 'YOURVTIGERACCESSKEY'
	]
];

$wsclient = new WSClient($url, $config);

Retrieving Errors

If an operation fails, the return value will be false. No error will be displayed unless you call

echo $wsclient->getLastError();

Create Object

$create = $wsclient->createObject('Accounts', array('accountname' => 'Test account'));

List Types

Get a list of Vtiger objects that are available when using the API.

$availableModules = $wsclient->getAvailableModules();

Other operations

-- Work in progress --

License

Licensed using the MIT license. See LICENSE.

Thanks

  • Build with Guzzle 4.*
  • Inspired by vtwsclib – vtiger CRM Web Services Client Library version 1.4

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 6
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: The
  • 更新时间: 2014-07-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固