PHP code example of alirezajavadi / vibetiger
1. Go to this page and download the library: Download alirezajavadi/vibetiger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
alirezajavadi / vibetiger example snippets
//init
use VibeTiger\App\CRM;
e($yourEndPoint, $yourUserName, $YourAccessKey);
//
//1. Create a Document
$params =array(
'example' => "test",
);
$vibeTiger::module("Documents")->operation("create")->params($params)->post();
//2. Update a Document
$vibeTiger::module("Documents")->operation("update")->params($element)->post();
//3. Query Contacts
$vibeTiger::module("Contacts")->operation("query")->get();
//4. Query a Specific User
$vibeTiger::module("Users")->operation("query")->where("id = 123x123")->get();