PHPackages                             responsilicious/laravel-quickbooks-client - 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. responsilicious/laravel-quickbooks-client

ActiveLibrary[API Development](/categories/api)

responsilicious/laravel-quickbooks-client
=========================================

FORK OF SPINEN's Laravel Client for QuickBooks.

4.5.0.5(3y ago)05.3kMITPHPPHP &gt;=7.2

Since Mar 21Pushed 3y agoCompare

[ Source](https://github.com/Responsilicious/laravel-quickbooks-client)[ Packagist](https://packagist.org/packages/responsilicious/laravel-quickbooks-client)[ RSS](/packages/responsilicious-laravel-quickbooks-client/feed)WikiDiscussions develop Synced today

READMEChangelog (6)Dependencies (9)Versions (15)Used By (0)

SPINEN's Laravel QuickBooks Client
==================================

[](#spinens-laravel-quickbooks-client)

[![Latest Stable Version](https://camo.githubusercontent.com/4f98eb7b6fe7e3772698d62c4cf7dc78f499803f1582961ec89ed3bcd2cafb47/68747470733a2f2f706f7365722e707567782e6f72672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f762f737461626c65)](https://packagist.org/packages/spinen/laravel-quickbooks-client)[![Latest Unstable Version](https://camo.githubusercontent.com/f5fdba5fd8d57a17a8735f6154a6d771857fb407beaf1cdd66b14b617e40fdc2/68747470733a2f2f706f7365722e707567782e6f72672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f762f756e737461626c65)](https://packagist.org/packages/spinen/laravel-quickbooks-client)[![Total Downloads](https://camo.githubusercontent.com/343de318993754d345d01e06bb921692a110336b02608dc6af2d2ddbf28fcac4/68747470733a2f2f706f7365722e707567782e6f72672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/spinen/laravel-quickbooks-client)[![License](https://camo.githubusercontent.com/55facac17ebb065c2a7b3c418b98081816b515b6dcb64b1a37463fcbfa893feb/68747470733a2f2f706f7365722e707567782e6f72672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f6c6963656e7365)](https://packagist.org/packages/spinen/laravel-quickbooks-client)

PHP client wrapping the [QuickBooks PHP SDK](https://github.com/intuit/QuickBooks-V3-PHP-SDK).

We solely use [Laravel](https://www.laravel.com) for our applications, so this package is written with Laravel in mind. If there is a request from the community to split this package into 2 parts to allow it to be used outside of Laravel, then we will consider doing that work.

Build Status
------------

[](#build-status)

BranchStatusCoverageCode QualityDevelop[![Build Status](https://camo.githubusercontent.com/d0c2d39495de1bc535ff6b68fef66d3010f62a198ad02997372440212db4ce46/68747470733a2f2f7472617669732d63692e6f72672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/spinen/laravel-quickbooks-client)[![Code Coverage](https://camo.githubusercontent.com/6c0d63738ecc4ee20cae6a621ee471d5c1725f1da5426c6689f814373d82319f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f6261646765732f636f7665726167652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/spinen/laravel-quickbooks-client/?branch=develop)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3d79058b55d90fbfb6a2aba4144e705693ae7818ad218d20927ed44e88ca41b1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/spinen/laravel-quickbooks-client/?branch=develop)Master[![Build Status](https://camo.githubusercontent.com/f33c680695abc9f884ca1b1803135953d3e482ff17b2cd151260afeb6e4a4a02/68747470733a2f2f7472617669732d63692e6f72672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/spinen/laravel-quickbooks-client)[![Code Coverage](https://camo.githubusercontent.com/6c0d63738ecc4ee20cae6a621ee471d5c1725f1da5426c6689f814373d82319f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f6261646765732f636f7665726167652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/spinen/laravel-quickbooks-client/?branch=develop)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ae4165bb47cdbb739f91bf47c51477c318edd4af5c891b306447b74d91e9e175/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7370696e656e2f6c61726176656c2d717569636b626f6f6b732d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/spinen/laravel-quickbooks-client/?branch=master)Installation
------------

[](#installation)

Install QuickBooks PHP Client:

```
$ composer require Responsilicious/laravel-quickbooks-client
```

The package uses the [auto registration feature](https://laravel.com/docs/5.8/packages#package-discovery) of Laravel 5.

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

[](#configuration)

1. You will need a `quickBooksToken` relationship on your `User` model. There is a trait named `Responsilicious\QuickBooks\Laravel\HasQuickBooksToken`, which you can include on your `User` model, which will setup the relationship. **NOTE: If your `User` model is not `App/User`, then you will need to configure the path in the `configs/quickbooks.php` as documented below.**
2. Add the appropriate values to your `.env`

    #### Minimal Keys

    [](#minimal-keys)

    ```
    QUICKBOOKS_CLIENT_ID=
    QUICKBOOKS_CLIENT_SECRET=
    ```

    #### Optional Keys

    [](#optional-keys)

    ```
    QUICKBOOKS_API_URL= # Defaults to App's env value
    QUICKBOOKS_DEBUG=               # Defaults to App's debug value
    ```
3. *\[Optional\]* Publish configs &amp; views

    #### Config

    [](#config)

    A configuration file named `quickbooks.php` can be published to `config/` by running...

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

    #### Views

    [](#views)

    View files can be published by running...

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

Usage
-----

[](#usage)

Here is an example of getting the company information from QuickBooks:

```
php artisan tinker
Psy Shell v0.8.17 (PHP 7.1.14 — cli) by Justin Hileman
>>> Auth::logInUsingId(1)
=> App\User {#1668
     id: 1,
     // Other keys removed for example
   }
>>> $quickbooks = app('Responsilicious\QuickBooks\Client') // or app('QuickBooks')
=> Responsilicious\QuickBooks\Client {#1613}
>>> $quickbooks->getDataService()->getCompanyInfo();
=> QuickBooksOnline\API\Data\IPPCompanyInfo {#1673
     +CompanyName: "Sandbox Company_US_1",
     +LegalName: "Sandbox Company_US_1",
     // Other properties removed for example
   }
>>>
```

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

Middleware
----------

[](#middleware)

If you have routes that will be dependent on the user's account having a usable QuickBooks OAuth token, there is an included middleware `Responsilicious\QuickBooks\Laravel\Filter` that gets registered as `quickbooks` that will ensure the account is linked and redirect them to the `connect` route if needed.

Here is an example route definition:

```
Route::view('some/route/needing/quickbooks/token/before/using', 'some.view')
     ->middleware('quickbooks');
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 73.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 ~148 days

Recently: every ~311 days

Total

13

Last Release

1197d ago

Major Versions

1.0.2 → 2.0.02019-01-23

2.0.1 → 3.0.02019-02-27

3.0.1 → 4.0.02019-09-06

PHP version history (2 changes)1.0.0PHP &gt;=7.1

3.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/66ecbdac70efd070a054b1c4da74390742f644465bb5c0301df3153a5da1f0ee?d=identicon)[Responsilicious](/maintainers/Responsilicious)

---

Top Contributors

[![jimmypuckett](https://avatars.githubusercontent.com/u/3220069?v=4)](https://github.com/jimmypuckett "jimmypuckett (48 commits)")[![ssfinney](https://avatars.githubusercontent.com/u/1596394?v=4)](https://github.com/ssfinney "ssfinney (9 commits)")[![Responsilicious](https://avatars.githubusercontent.com/u/7826064?v=4)](https://github.com/Responsilicious "Responsilicious (7 commits)")[![lukereimer](https://avatars.githubusercontent.com/u/4613145?v=4)](https://github.com/lukereimer "lukereimer (1 commits)")

---

Tags

clientlaravelquickbooksresponsilicious

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  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)[spinen/laravel-quickbooks-client

SPINEN's Laravel Client for QuickBooks.

4946.7k](/packages/spinen-laravel-quickbooks-client)[laravel/cashier-paddle

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

264778.4k3](/packages/laravel-cashier-paddle)[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)[essa/api-tool-kit

set of tools to build an api with laravel

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

PHPackages © 2026

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