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(2mo ago)1171MITPHPPHP ^8.3

Since Jun 25Pushed 2mo 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 1mo ago

READMEChangelog (2)Dependencies (10)Versions (4)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

44

—

FairBetter than 92% of packages

Maintenance84

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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

83d 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://www.gravatar.com/avatar/6aaea237919c3be5aa99625894b0e412d39628919e14e6f125f3ecedbf4aa808?d=identicon)[wearepixel](/maintainers/wearepixel)

---

Top Contributors

[![joelwmale](https://avatars.githubusercontent.com/u/3906839?v=4)](https://github.com/joelwmale "joelwmale (6 commits)")[![divakar-rajodiya](https://avatars.githubusercontent.com/u/62018513?v=4)](https://github.com/divakar-rajodiya "divakar-rajodiya (5 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

[laravel/cashier

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

2.5k25.9M107](/packages/laravel-cashier)[laravel/pulse

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

1.7k12.1M99](/packages/laravel-pulse)[laravel/cashier-paddle

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

264778.4k3](/packages/laravel-cashier-paddle)[spinen/laravel-quickbooks-client

SPINEN's Laravel Client for QuickBooks.

4946.7k](/packages/spinen-laravel-quickbooks-client)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[resend/resend-laravel

Resend for Laravel

1191.4M6](/packages/resend-resend-laravel)

PHPackages © 2026

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