PHPackages                             hotrush/quickbooks-manager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. hotrush/quickbooks-manager

ActiveLibrary

hotrush/quickbooks-manager
==========================

v0.2.2(6y ago)1412MITPHPPHP &gt;=7.1CI failing

Since Jul 24Pushed 6y agoCompare

[ Source](https://github.com/hotrush/quickbooks-manager)[ Packagist](https://packagist.org/packages/hotrush/quickbooks-manager)[ RSS](/packages/hotrush-quickbooks-manager/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (4)Versions (18)Used By (0)

QuickBooks Online manager for Laravel
=====================================

[](#quickbooks-online-manager-for-laravel)

- Manage different connections (credentials)
- Store tokens in the database
- Refresh token automatically
- Functionality for tokens acquiring
- Webhooks management
- Api SDK included
- Logging

Installation
------------

[](#installation)

```
composer require hotrush/quickbooks-manager
```

You have to migrate the database

```
php artisan migrate
```

Also you can publish config file

```
php artisan vendor:publish --provider="Hotrush\QuickBooksManager\QuickBooksManagerServiceProvider" --tag="config"
```

Authorization
-------------

[](#authorization)

To redirect to OAuth authorization page use `qbm.redirect` route e.g.:

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

On successful auth token will be stored in the database and used automatically for API requests. You can configure redirect-back route for success authorization in config file changing `redirect_route` option.

Api requests
------------

[](#api-requests)

When token received you can use connection manager to send api requests. To get manager instance you can use laravel's container [resolving stuff](https://laravel.com/docs/5.8/container#resolving) and resolve for `Hotrush\QuickBooksManager\QuickBooksManager` class.

Then just get needed connection and send request.

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

Webhooks
--------

[](#webhooks)

Each connection has it's own webhook endpoint e.g.

```
/qbm/webhook/{connection?}
```

You can also define `verifier_token` for each connection to verify data received by webhook ([read more](https://developer.intuit.com/app/developer/qbo/docs/develop/webhooks/managing-webhooks-notifications#validating-the-notification)).

Each webhook's notification will spawn a new laravel's event. You can easily create your own [event listener](https://laravel.com/docs/5.8/events#defining-listeners) to handle it.

Events list:

- `Hotrush\QuickBooksManager\Events\EntityCreate`
- `Hotrush\QuickBooksManager\Events\EntityUpdate`
- `Hotrush\QuickBooksManager\Events\EntityDelete`
- `Hotrush\QuickBooksManager\Events\EntityMerge`
- `Hotrush\QuickBooksManager\Events\EntityVoid`

Each event has next arguments:

- `connection` name
- `realmId`
- `entityName` - the name of the entity type that changed (Customer, Invoice, etc.)
- `entityId` - changed entity id
- `lastUpdated` - carbon-parsed date object
- `deletedId` - the ID of the entity that was deleted and merged (only for Merge events)

Tokens refresh schedule
-----------------------

[](#tokens-refresh-schedule)

Schedule refreshing in `App\Console\Kernel`. [Schedule docs](https://laravel.com/docs/5.8/scheduling#defining-schedules).

```
$schedule->command(RefreshTokensCommand::class)->everyMinute();
```

Token's database table
----------------------

[](#tokens-database-table)

Now you can configure token's table name, just change `table_name` in config file.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Recently: every ~32 days

Total

17

Last Release

2349d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cfcee390045ec2c0820506544a6778f93fed658e5e1124d38db4524aa6b3f4f?d=identicon)[hotrush](/maintainers/hotrush)

---

Top Contributors

[![hotrush](https://avatars.githubusercontent.com/u/1247004?v=4)](https://github.com/hotrush "hotrush (20 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hotrush-quickbooks-manager/health.svg)

```
[![Health](https://phpackages.com/badges/hotrush-quickbooks-manager/health.svg)](https://phpackages.com/packages/hotrush-quickbooks-manager)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
