2017 © Pedro Peláez
 

library vuforia-php-sdk

Unofficial PHP SDK for Vuforia

image

arloopa/vuforia-php-sdk

Unofficial PHP SDK for Vuforia

  • Monday, February 20, 2017
  • by mhamlet
  • Repository
  • 1 Watchers
  • 1 Stars
  • 51 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 2 % Grown

The README.md

Vuforia PHP SDK (unofficial)

Latest Stable Version Total Downloads Build Status StyleCI codecov.io PHP-Eye, (*1)

An unofficial SDK for Vuforia., (*2)

use Vuforia\Vuforia;
use Vuforia\Models\Target;

// Here is the database access and secret keys. You can
// find them on Vuforia's database page
$access_key = '';
$secret_key = '';

Vuforia::config($access_key, $secret_key);

// To get all targets
$targets = Target::all();

// To get specified target
$target = Target::find('target_id');

// To get target duplicates
$target_duplicates = $target->getDuplicates();

// To get target info
var_dump($target->id);
var_dump($target->name);
var_dump($target->active_flag);
var_dump($target->tracking_rating);
var_dump($target->status);
var_dump($target->width);
var_dump($target->reco_rating);

// To get target summary
var_dump($target->summary->database_name);
var_dump($target->summary->target_name);
var_dump($target->summary->upload_date);
var_dump($target->summary->active_flag);
var_dump($target->summary->status);
var_dump($target->summary->tracking_rating);
var_dump($target->summary->total_recos);
var_dump($target->summary->current_month_recos);
var_dump($target->summary->previous_month_recos);

// To create a new target
Target::create('marker image path (local or remote)', 'name of target', $width, 'metadata', $is_active);

// To update an existing target
// Note that each method bellow makes an API call to Vuforia
$target->changeName('new target name');
$target->changeMarker('new marker image path');
$target->changeMetadata('new metadata');
$target->changeWidth($new_width);
$target->makeInactive();
$target->makeActive();
// or
$target->activate();

// To delete the target
$target->delete();

Installation

$ composer require arloopa/vuforia-php-sdk

The Versions

20/02 2017

dev-master

9999999-dev

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

20/02 2017

0.7.2

0.7.2.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

18/02 2017

0.7

0.7.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

17/01 2017

0.6

0.6.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

16/01 2017

0.5.1

0.5.1.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

16/01 2017

0.5

0.5.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

13/01 2017

0.4

0.4.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

13/01 2017

0.3

0.3.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

13/12 2016

0.2

0.2.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires

26/11 2016

0.1

0.1.0.0

Unofficial PHP SDK for Vuforia

  Sources   Download

The Requires

 

The Development Requires