PHP code example of tndjx / xero-manager
1. Go to this page and download the library: Download tndjx/xero-manager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tndjx / xero-manager example snippets
public function tools()
{
return [
\Tndjx\XeroManager\XeroManager::make(),
];
}
public function tools()
{
return [
\Tndjx\XeroManager\XeroManager::make()->canSee(function ($request) {
return $request->user()->isAdmin();
}),
];
}