Nova XeroManager
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-managerAfter 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).
