PHPackages                             eyesar/laravel-vuforia - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. eyesar/laravel-vuforia

Abandoned → [panoscape/laravel-vuforia](/?search=panoscape%2Flaravel-vuforia)Library[API Development](/categories/api)

eyesar/laravel-vuforia
======================

Vuforia web service api for laravel

1.2.1(7y ago)7326[1 issues](https://github.com/Eyesar/laravel-vuforia/issues)MITPHPPHP &gt;=5.6.4

Since Nov 8Pushed 7y ago3 watchersCompare

[ Source](https://github.com/Eyesar/laravel-vuforia)[ Packagist](https://packagist.org/packages/eyesar/laravel-vuforia)[ Docs](https://github.com/seancheung/laravel-vuforia)[ RSS](/packages/eyesar-laravel-vuforia/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (12)Used By (0)

Laravel-Vuforia
===============

[](#laravel-vuforia)

Vuforia web service API for Laravel

Install
-------

[](#install)

```
composer require panoscape/laravel-vuforia
```

Service provider

> config/app.php

```
'providers' => [
    ...
    Panoscape\Vuforia\VuforiaWebServiceProvider::class,
];
```

Facades

> config/app.php

```
'aliases' => [
    ...
    'VWS' => Panoscape\Vuforia\Facades\VuforiaWebService::class,
];
```

Features
--------

[](#features)

### Easy with Facade:

[](#easy-with-facade)

- VWS::getTargets()
- VWS::getTarget(string $id)
- VWS::updateTarget(string $id, mixed $target)
- VWS::addTarget(mixed $target)
- VWS::deleteTarget(string $id)
- VWS::getDuplicates(string $id)
- VWS::getDatabaseSummary()
- VWS::getTargetSummary(string $id)

### Call with array

[](#call-with-array)

```
VWS::addTarget([
    'name' => 'my_new_target',
    'width' => 320,
    'path' => public_path('storage/IMG_2738.jpg')
    ]);
```

### Pre-Check

[](#pre-check)

```
 VWS::addTarget(['name' => '123 1']);
```

> Exception with message 'Invalid naming'

```
VWS::addTarget(['name' => '123']);
```

> Exception with message 'Target width is required'

```
VWS::addTarget(['name' => '1231', 'width' => 100, 'path' => public_path('storage/image.png')]);
```

> Exception with message 'Image is too large'

### Image Target Class

[](#image-target-class)

```
$target = new \Panoscape\Vuforia\Target;
$target->name = 'image_01';
$target->width = 320;
$target->image = file_get_contents(public_path('images/001.jpg'));
//optional fields
$target->metadata = 'Hello world';
$target->active = false;
```

### Wrapped result

[](#wrapped-result)

```
[
    "status" => 201,
    "body" => '{"result_code":"TargetCreated","transaction_id":"xxx","target_id":"xxx"}',
]
```

```
[
    "status" => 422,
    "body" => '{"result_code":"BadImage","transaction_id":"xxx"}',
]
```

### Configurable

[](#configurable)

```
[
    /*
    |--------------------------------------------------------------
    | Vuforia Web Service URLs
    |--------------------------------------------------------------
    |
    |
    */
    'url' => [
        /*
        |--------------------------------------------------------------
        | Vuforia Web Service Targets Request URL
        |--------------------------------------------------------------
        |
        |
        */
        'targets' => 'https://vws.vuforia.com/targets',

        /*
        |--------------------------------------------------------------
        | Vuforia Web Service Duplicates Request URL
        |--------------------------------------------------------------
        |
        |
        */
        'duplicates' => 'https://vws.vuforia.com/duplicates',

        /*
        |--------------------------------------------------------------
        | Vuforia Web Service Summary Request URL
        |--------------------------------------------------------------
        |
        |
        */
        'summary' => 'https://vws.vuforia.com/summary',
        ],

    /*
    |--------------------------------------------------------------
    | Vuforia cloud database credentials
    |--------------------------------------------------------------
    |
    |
    */
    'credentials' => [
        /*
        |--------------------------------------------------------------
        | Vuforia cloud database access key
        |--------------------------------------------------------------
        |
        |
        */
        "access_key" => env('VUFORIA_ACCESS_KEY'),

        /*
        |--------------------------------------------------------------
        | Vuforia cloud database secret key
        |--------------------------------------------------------------
        |
        |
        */
        "secret_key" => env('VUFORIA_SECRET_KEY'),
    ],

    /*
    |--------------------------------------------------------------
    | Max image size(unencoded) in Byte. Default is 2MB
    | Set to null to bypass size checking(not recommended)
    |--------------------------------------------------------------
    |
    |
    */
    'max_image_size' => 2097152,

    /*
    |--------------------------------------------------------------
    | Max metadata size(unencoded) in Byte. Default is 2MB
    | Set to null to bypass size checking(not recommended)
    |--------------------------------------------------------------
    |
    |
    */
    'max_meta_size' => 2097152,

    /*
    |--------------------------------------------------------------
    | Name checking rule. Default is
    | no spaces and may only contain:
    | numbers (0-9), letters (a-z), underscores ( _ ) and dashes ( - )
    | Set to null to bypass name checking(not recommended)
    |--------------------------------------------------------------
    |
    |
    */
    'naming_rule' => '/^[\w\-]+$/'
]
```

### Jobs and Notification

[](#jobs-and-notification)

```
/**
* Upload image to Vuforia
*/
abstract class VuforiaJob implements ShouldQueue
{
    use InteractsWithQueue, Queueable, SerializesModels;

    /**
    * Execute the job.
    *
    * @param  VuforiaWebService  $vws
    * @return void
    */
    abstract function handle(VuforiaWebService $vws);

    /**
    * The job failed to process.
    *
    * @param  Exception  $exception
    * @return void
    */
    abstract function failed(Exception $exception);
}
```

```
abstract class VuforiaNotification extends Notification
{
    use Queueable;

    protected $result;

    /**
     * Create a new notification instance.
     *
     * @param mixed $result
     *
     * @return void
     */
    public function __construct($result)
    {
        $this->result = $result;
    }

    /**
     * Get the notification's delivery channels.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function via($notifiable)
    {
        return ['database'];
    }

    /**
     * Get the array representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function toArray($notifiable)
    {
        return [
            'result' => $this->result
        ];
    }
}
```

Documentation
-------------

[](#documentation)

See [Wiki](https://github.com/seancheung/laravel-vuforia/wiki)

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~70 days

Recently: every ~156 days

Total

10

Last Release

2831d ago

Major Versions

v0.2.2 → v1.0.02016-11-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/200917723ebe49e227e202c342dc4a05414a4375fa0afd56e811aec7babc4853?d=identicon)[seancheung](/maintainers/seancheung)

---

Top Contributors

[![seancheung](https://avatars.githubusercontent.com/u/5442563?v=4)](https://github.com/seancheung "seancheung (41 commits)")

---

Tags

laravelvuforiavwsapilaravelarvuforiaaugmented-reality

### Embed Badge

![Health badge](/badges/eyesar-laravel-vuforia/health.svg)

```
[![Health](https://phpackages.com/badges/eyesar-laravel-vuforia/health.svg)](https://phpackages.com/packages/eyesar-laravel-vuforia)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3672.8k2](/packages/specialtactics-l5-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
