tndjx / xero-manager
A Laravel Nova tool.
1.0.1
2023-06-18 11:19 UTC
Requires
- php: ^7.3|^8.0
- laravel/nova: ~4.0
- webfox/laravel-xero-oauth2: ^4.1
README
Intro
Nova XeroManager is a package based on laravel-xero-oauth2
It is a simple way that helps you manage your connection to xero.com
Requirements:
- PHP 8.0 or higher
- Nova 4
Installation
To get started just install the package via composer:
composer require tndjx/xero-manager
After that register tool in NovaServiceProvider
:
public function tools() { return [ \Tndjx\XeroManager\XeroManager::make(), ]; }
That's it, you're ready to go!
Restricting Access
You can restrict access to the tool by using canSee
method in NovaServiceProvider
:
public function tools() { return [ \Tndjx\XeroManager\XeroManager::make()->canSee(function ($request) { return $request->user()->isAdmin(); }), ]; }
Screenshot
License
This software is released under The MIT License (MIT).