PHPackages                             chetantechnource/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. chetantechnource/laravel-vuforia

ActiveLibrary[API Development](/categories/api)

chetantechnource/laravel-vuforia
================================

Vuforia web service api for laravel

v1.0.6(3y ago)0208MITPHPPHP &gt;=8.1

Since Jul 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ChetanTechnource/laravel-vuforia)[ Packagist](https://packagist.org/packages/chetantechnource/laravel-vuforia)[ Docs](https://github.com/chetantechnource/laravel-vuforia)[ RSS](/packages/chetantechnource-laravel-vuforia/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

CREDIT TO

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

[](#laravel-vuforia)

Vuforia web service API for Laravel

Install
-------

[](#install)

```
composer require chetantechnource/laravel-vuforia
```

Service provider

> config/app.php

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

Facades

> config/app.php

```
'aliases' => [
    ...
    'VWS' => Panoscape\Vuforia\Facades\VuforiaWebServiceFacade::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/ChetanTechnource/laravel-vuforia/wiki)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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 ~1 days

Total

7

Last Release

1380d ago

PHP version history (2 changes)v1.0.0PHP &gt;=8.0

v1.0.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/32ce88ed122a3b7cbeb19d123b1d5d15b192e0126c717b5e6765d19326b7c88a?d=identicon)[chetantechnource](/maintainers/chetantechnource)

---

Top Contributors

[![ChetanTechnource](https://avatars.githubusercontent.com/u/87816669?v=4)](https://github.com/ChetanTechnource "ChetanTechnource (3 commits)")

---

Tags

apilaravelarvuforiaaugmented-reality

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/chetantechnource-laravel-vuforia/health.svg)](https://phpackages.com/packages/chetantechnource-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)
