PHPackages                             wearepixel/laravel-quickbooks - 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. [API Development](/categories/api)
4. /
5. wearepixel/laravel-quickbooks

ActiveLibrary[API Development](/categories/api)

wearepixel/laravel-quickbooks
=============================

Laravel Client for QuickBooks.

2.0.0(4mo ago)11.0k[2 PRs](https://github.com/wearepixel/laravel-quickbooks/pulls)MITPHPPHP ^8.3CI passing

Since Jun 25Pushed 1mo agoCompare

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

READMEChangelog (2)Dependencies (10)Versions (6)Used By (0)

Laravel QuickBooks Client
=========================

[](#laravel-quickbooks-client)

[![Latest Stable Version](https://camo.githubusercontent.com/63b522a83850989eeb5968f0865b0048b024cae69ca34ee45740c840db75d321/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7765617265706978656c2f6c61726176656c2d717569636b626f6f6b732e737667)](https://packagist.org/packages/wearepixel/laravel-quickbooks)[![Total Downloads](https://camo.githubusercontent.com/3879615dd3cee4f9456aea0db312f6abd20cc7baea83ccedc6c217c784487da8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7765617265706978656c2f6c61726176656c2d717569636b626f6f6b732e737667)](https://packagist.org/packages/wearepixel/laravel-quickbooks)[![License](https://camo.githubusercontent.com/4fe8def7fc96a57993d8290cd6a97b35f7d539dfcc84ee77d35aa083b321e743/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7765617265706978656c2f6c61726176656c2d717569636b626f6f6b732e737667)](https://packagist.org/packages/wearepixel/laravel-quickbooks)[![PHP Version](https://camo.githubusercontent.com/9eced776e9d55ee0a980efa100746a28ba6036df13bfa91163516328450d3e43/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f7765617265706978656c2f6c61726176656c2d717569636b626f6f6b732f7068702e737667)](https://packagist.org/packages/wearepixel/laravel-quickbooks)

A Laravel package wrapping the [QuickBooks PHP SDK](https://github.com/intuit/QuickBooks-V3-PHP-SDK). Provides OAuth 2.0 authentication, automatic token management, and access to the QuickBooks Online API.

Compatibility
-------------

[](#compatibility)

LaravelPHPPackage12.x^8.3^2.011.x^8.3^2.010.x^8.3^1.0Installation
------------

[](#installation)

1. Install the package:

```
composer require wearepixel/laravel-quickbooks
```

2. Run the migration to create the `quickbooks_tokens` table:

```
php artisan migrate
```

The package uses Laravel's [auto-discovery](https://laravel.com/docs/packages#package-discovery), so no manual provider registration is needed.

Configuration
-------------

[](#configuration)

### 1. Add the trait to your User model

[](#1-add-the-trait-to-your-user-model)

```
use Wearepixel\QuickBooks\HasQuickBooksToken;

class User extends Authenticatable
{
    use HasQuickBooksToken;
}
```

If your User model is not `App\Models\User`, publish the config and update the `user.model` value.

### 2. Set your environment variables

[](#2-set-your-environment-variables)

```
QUICKBOOKS_CLIENT_ID=
QUICKBOOKS_CLIENT_SECRET=
```

Optional:

```
QUICKBOOKS_API_URL=  # Defaults based on APP_ENV
QUICKBOOKS_DEBUG=                # Defaults to APP_DEBUG
```

### 3. Publish config and views (optional)

[](#3-publish-config-and-views-optional)

```
php artisan vendor:publish --tag=quickbooks-config
php artisan vendor:publish --tag=quickbooks-views
```

Usage
-----

[](#usage)

First, direct users to `/quickbooks/connect` to authorize their QuickBooks account. Once connected, you can access the API:

```
$quickbooks = app(\Wearepixel\QuickBooks\Client::class);

// Get company info
$company = $quickbooks->getDataService()->getCompanyInfo();

// Access reports
$reportService = $quickbooks->getReportService();
```

You can call any of the resources documented in the [QuickBooks PHP SDK](https://intuit.github.io/QuickBooks-V3-PHP-SDK/quickstart.html).

Middleware
----------

[](#middleware)

Protect routes that require a QuickBooks connection using the `quickbooks` middleware. Users without a valid token will be redirected to the connect page.

```
Route::get('quickbooks/invoices', InvoiceController::class)
     ->middleware('quickbooks');
```

Testing
-------

[](#testing)

```
./vendor/bin/pest
```

License
-------

[](#license)

MIT

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance85

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 53.8% 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 ~602 days

Total

2

Last Release

135d ago

Major Versions

1.0.0 → 2.0.02026-02-18

PHP version history (2 changes)1.0.0PHP ^8.0.2

2.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/80378407?v=4)[Pixel](/maintainers/wearepixel)[@wearepixel](https://github.com/wearepixel)

---

Top Contributors

[![joelwmale](https://avatars.githubusercontent.com/u/3906839?v=4)](https://github.com/joelwmale "joelwmale (7 commits)")[![divakar-rajodiya](https://avatars.githubusercontent.com/u/62018513?v=4)](https://github.com/divakar-rajodiya "divakar-rajodiya (5 commits)")[![pixel-workflows[bot]](https://avatars.githubusercontent.com/in/3240715?v=4)](https://github.com/pixel-workflows[bot] "pixel-workflows[bot] (1 commits)")

---

Tags

clientlaravelquickbookswearepixel

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/wearepixel-laravel-quickbooks/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M146](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[api-platform/laravel

API Platform support for Laravel

58171.4k14](/packages/api-platform-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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