Skip to content

Laravel Nova tool used to connect to Xero.com and manage connection

License

Notifications You must be signed in to change notification settings

TNDJX/xero-manager

Repository files navigation

Nova XeroManager

GitHub license Packagist Downloads Latest Version on Packagist


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

screenshot.png


License

This software is released under The MIT License (MIT).

About

Laravel Nova tool used to connect to Xero.com and manage connection

Resources

License

Stars

Watchers

Forks

Packages

No packages published