PHP code example of hotrush / quickbooks-manager

1. Go to this page and download the library: Download hotrush/quickbooks-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/ */

    

hotrush / quickbooks-manager example snippets


redirect(route('qbm.redirect', ['connection' => 'default']));

$invoiceToCreate = Invoice::create([...]);
$manager = resolve(\Hotrush\QuickBooksManager\QuickBooksManager::class);
$manager->connection('default')->Add($invoiceToCreate);

/qbm/webhook/{connection?}

$schedule->command(RefreshTokensCommand::class)->everyMinute();
bash
php artisan migrate
bash
php artisan vendor:publish --provider="Hotrush\QuickBooksManager\QuickBooksManagerServiceProvider" --tag="config"