PHP Classes

v3sdk: Store and retrieve objects in V3ctor WareHouse

Recommend this page to a friend!
  Info   View files Documentation   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 61 All time: 10,454 This week: 524Up
Version License PHP version Categories
v3sdk 1.0Custom (specified...5PHP 5, Web services


This class can store and retrieve objects in V3ctor WareHouse.

It can send HTTP requests to V3ctor WareHouse Web server to perform several types of operations.

The class can take a array of properties and send requests to create a new object or update an existing object.

It can also delete objects by ID, as well retrieve objects by ID or a given property criteria.

Picture of Yorch Ponce
Name: Yorch Ponce <contact>
Classes: 6 packages by
Country: Mexico Mexico
Age: 43
All time rank: 206022 in Mexico Mexico
Week rank: 264 Up4 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 1x


V3ctor Sdk


V3ctor WareHouse PHP Sdk


Developer Documentation

Execute phpdoc -d v3sdk/

Unit Test

For run Unit Test, complete information connection and execute the next commands: > phpunit V3SdkTest.php


Create file composer.json

    "require": {
    	"php": ">=5.4.0",
        "yorch/v3sdk" : "dev-master"

Execute composer.phar install


// Get Instance
$v3 = V3Sdk::getInstance('', "lYltuNtYYbYRFC7QWwHn9b5aH2UJMk1234567890");

$data = array('DATA' => 111, 'NAME' => 'jorge');

// Insert new Object
$result = $v3->newObject('v3', $data);

// Get Id
$_id = V3Sdk::getId($result['_id']);

// Get Id for MySQL Case
//$_id = $result[0]->_id;

// Update Object
$data = array('DATA' => 111, 'NAME' => 'yorch');
$result = $v3->updateObject('v3', $_id, $data);

// Find By Id
$result = $v3->findObject('v3', $_id);

// Find By Pattern
$result = $v3->query('v3', $data);

// Foreach Result
foreach ($result as $item) {
	echo V3Sdk::getId($item->_id) . "\n";

// Delete Object
$result = $v3->deleteObject('v3', $_id);


V3Sdk PHP uses CURL for access to V3ctor WareHouse.


P.D. Let's go play !!!

  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License
Accessible without login Plain text file Doc. Documentation
Plain text file V3Sdk.class.php Class Class source
Accessible without login Plain text file V3SdkTest.php Test Unit test script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,454
This week:524Up