simplesquid / nova-vend
一个用于我们的PHP SDK和Vend POS的Laravel Nova工具。
v0.2.1
2019-11-28 07:34 UTC
Requires
- php: ^7.2
- illuminate/support: ^6.0
- laravel/nova: ^2.0
- simplesquid/laravel-vend-sdk: ^0.3
Requires (Dev)
- orchestra/testbench: ^3.8|^4.0
This package is auto-updated.
Last update: 2024-08-28 18:55:10 UTC
README
一个用于我们的PHP SDK和Laravel包的Laravel Nova工具 | https://docs.vendhq.com/
欢迎贡献、问题和建议。
安装
要在项目中安装SDK,您需要通过composer要求该包。
composer require simplesquid/nova-vend
要在Nova中注册工具,只需将其添加到返回自您的应用《NovaServiceProvider》中的《tools》方法的工具列表中。例如
use SimpleSquid\NovaVend\VendLogin; /** * Get the cards that should be listed in the Nova sidebar. * * @return array */ public function tools() { return [ new VendLogin, ]; }
OAuth授权
该工具目前仅支持使用Vend API进行OAuth 2.0授权。