PHPackages                             simplesquid/laravel-vend-sdk - 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. simplesquid/laravel-vend-sdk

ActiveLibrary

simplesquid/laravel-vend-sdk
============================

A Laravel package for our PHP SDK for Vend POS.

v0.3.1(5y ago)22231MITPHPPHP ^7.3

Since Sep 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/simplesquid/laravel-vend-sdk)[ Packagist](https://packagist.org/packages/simplesquid/laravel-vend-sdk)[ Docs](https://github.com/simplesquid/laravel-vend-sdk)[ RSS](/packages/simplesquid-laravel-vend-sdk/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (6)Versions (9)Used By (1)

Vend SDK (a Laravel Package)
============================

[](#vend-sdk-a-laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8ea81f2b40f43ba12a7bcc8fa3e0f2b52c8c4b9a3536c83c2310987a6870de30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d706c6573717569642f6c61726176656c2d76656e642d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simplesquid/laravel-vend-sdk)[![MIT License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/3923be04bd8ffa9bc989e1c792f9d3a7dbcf1492e8b611c8d2f70d84ae2613f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696d706c6573717569642f6c61726176656c2d76656e642d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simplesquid/laravel-vend-sdk)

A Laravel package for our [PHP SDK for Vend POS](https://github.com/simplesquid/vend-sdk).

Installation
------------

[](#installation)

You can install this package via composer:

```
composer require simplesquid/laravel-vend-sdk
```

The package will automatically register itself with the Laravel service container.

To publish the config file to `config/vend.php` run:

```
php artisan vendor:publish --provider="SimpleSquid\LaravelVend\VendServiceProvider"
```

OAuth Setup
-----------

[](#oauth-setup)

Should you wish to make use of the OAuth authorisation method, you will need to register your application on the [Vend Developer page](https://developers.vendhq.com/) and set the redirect URI to the named route url, `vend.oauth.request`.

Then, copy the client ID and secret to your environment variables. You will also need to create an implementation of `\SimpleSquid\LaravelVend\VendTokenManager` to store and retrieve the access token (it is recommended to be saved in your database).

Finally, direct your user to the named route, `vend.oauth.request`, in order to request access. The access token will be saved upon the user's successful return to your application, and they will be redirected to the previous page.

Usage
-----

[](#usage)

An example use case is shown below. The `VendRequestJob` handles both rate limiting and refreshes of the OAuth token.

```
use SimpleSquid\LaravelVend\Facades\Vend;
use SimpleSquid\LaravelVend\Jobs\VendRequestJob;

/* Get the list of products. */
public function getProducts() {

    return VendRequestJob::dispatchNow(function () {
        return Vend::product()->get();
    });

}

/* Create a new product. */
public function createProduct($product) {

    VendRequestJob::dispatch(function () use $product {
        return Vend::product()->create($product);
    });

}
```

For more examples, feel free to dive into the code.

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Matthew Poulter](https://github.com/mdpoulter)
- [All Contributors](../../contributors)

Package skeleton based on [spatie/skeleton-php](https://github.com/spatie/skeleton-php).

About us
--------

[](#about-us)

SimpleSquid is a small web development and design company based in Cape Town, South Africa.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.7% 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 ~71 days

Recently: every ~105 days

Total

7

Last Release

2005d ago

PHP version history (2 changes)v0.1.0PHP ^7.2

v0.3.0PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/e90efcfce673cabc08f0101ee076b8060508c33e7693c048d58e44e4a53b2300?d=identicon)[simplesquid](/maintainers/simplesquid)

---

Top Contributors

[![mdpoulter](https://avatars.githubusercontent.com/u/1091085?v=4)](https://github.com/mdpoulter "mdpoulter (29 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")

---

Tags

laravelphppoint-of-salesdklaravelsdkpoint-of-salesimplesquidvendlaravel-vend-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simplesquid-laravel-vend-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/simplesquid-laravel-vend-sdk/health.svg)](https://phpackages.com/packages/simplesquid-laravel-vend-sdk)
```

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M75](/packages/aws-aws-sdk-php-laravel)[kreait/laravel-firebase

A Laravel package for the Firebase PHP Admin SDK

1.3k16.5M42](/packages/kreait-laravel-firebase)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)

PHPackages © 2026

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