2017 © Pedro Peláez
 

library vtiger

Vtiger Web Services PHP Client Library

image

jcoaks/vtiger

Vtiger Web Services PHP Client Library

  • Thursday, June 18, 2015
  • by jcoaks
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Vtiger Web Services PHP Client Library (vtwsphpclib)

Composer based Vtiger Web Services Client., (*1)

Build Status

Travis-CI: Build Status, (*2)

Installation

The recommended way to install vtwsphpclib is with Composer. Composer is a dependency management tool for PHP., (*3)

Specify vtwsphpclib as a dependency in your composer.json file:, (*4)

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

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

Usage

Creating the WSClient object

use Jcoaks\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, (*6)

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., (*7)

$availableModules = $wsclient->getAvailableModules();

Other operations

-- Work in progress --, (*8)

License

Licensed using the MIT license. See LICENSE., (*9)

Thanks

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

The Versions

18/06 2015

dev-master

9999999-dev https://github.com/jcoaks/Vtiger-Web-Services-PHP-Client-Library

Vtiger Web Services PHP Client Library

  Sources   Download

The MIT License (MIT)

The Requires

 

webservices vtiger vtwsclib

25/08 2014

v0.1

0.1.0.0 https://github.com/vdespa/Vtiger-Web-Services-PHP-Client-Library

Vtiger Web Services PHP Client Library

  Sources   Download

The MIT License (MIT)

The Requires

 

webservices vtiger vtwsclib