simplesquid/nova-vend

A Laravel Nova tool for our PHP SDK and Laravel package for Vend POS.

v0.2.1 2019-11-28 07:34 UTC

This package is auto-updated.

Last update: 2024-10-28 19:34:01 UTC


README

Latest Version MIT Licensed Total Downloads

A Laravel Nova tool for our PHP SDK and Laravel package for Vend POS | https://docs.vendhq.com/

Contributions, issues and suggestions are very much welcome.

Installation

To install the SDK in your project you need to require the package via composer:

composer require simplesquid/nova-vend

To register the Tool in Nova, simply add it to the list of tools returned by the tools method in your application's NovaServiceProvider. For example:

use SimpleSquid\NovaVend\VendLogin;

/**
 * Get the cards that should be listed in the Nova sidebar.
 *
 * @return array
 */
public function tools()
{
    return [
        new VendLogin,
    ];
}

OAuth Authorisation

This tool currently only supports OAuth 2.0 authorisation with the Vend API.