PHPackages                             sdavis1902/quickbooksonline-php - 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. sdavis1902/quickbooksonline-php

ActiveLibrary[API Development](/categories/api)

sdavis1902/quickbooksonline-php
===============================

09PHP

Since Feb 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sdavis1902/quickbooksonline-php)[ Packagist](https://packagist.org/packages/sdavis1902/quickbooksonline-php)[ RSS](/packages/sdavis1902-quickbooksonline-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

quickbooksonline-php
====================

[](#quickbooksonline-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d255a33396a5b3432aa31b1edbf8ebaf729c4ce5f089a3fa0cd08144ef7fca8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736461766973313930322f71626f2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sdavis1902/qbo-laravel)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/fc8c14d4525dfd232e88874aa9887e727e17ed6a8a7a2abc733e92ba57d9ddda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736461766973313930322f71626f2d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sdavis1902/qbo-laravel)

This is a php package for Intuits QuickBooks Online api. It can also handle the all the OAuth stuff.

This package is still under development. So far the OAuth stuff is complete and a few api calls. It is just using guzzle to do the rest api calls, so is pretty simple to create more calls, just a matter of finding the time. I will wait until most of the calls are abailable before I make a release.

Install
-------

[](#install)

Via Composer

```
$ composer require sdavis1902/quickbooksonline-php
```

As there is not yet a stable release, you will probably need to specify the version.

Usage
-----

[](#usage)

```
// Start OAuth, will be redirected to qbo to sign in
$auth = new \sdavis1902\QboPhp\Auth($identifier, $secret, $callback_url);
$auth->connect();

// put this on your callback page to handle the return from qbo
$auth = new \sdavis1902\QboPhp\Auth($identifier, $secret, $callback_url);
$auth->handleCallback();

// to check if your still connect ( is still incomplete )
$auth->check();

// do a call
$customer = new \sdavis1902\QboPhp\Customer($identifier, $secret, $callback_url);
$result = $customer->find(2);

// search
$results = $customer->select(['Id', 'GivenName'])->order('id', 'desc')->limit(2)->start(10)->get();
$results = $customer->where('GivenName', '=', 'Bill')->where('FamilyName', '=', 'Lucchini')->first();

// update
$result = $customer->update([
	'Id' => 5,
	'GivenName' => 'Billy',
	'FamilyName' => 'Guy'
]);

// get the user whos account we are managing
$qbo = new \sdavis1902\QboPhp\qbo($identifier, $secret, $callback_url);
$user = $qbo->getUser();

// alternatly, you can make an object of Qbo class and call other classes through it like this
$qbo = new \sdavis1902\QboPhp\qbo($identifier, $secret, $callback_url);
$qbo->Auth()->connect();
$qbo->Customer()->find(2);
// the Qbo class, if it can not find the method you call,
// it will look for a class in the same namespace instead and create an object if it finds one
```

Laravel 5

Add Service Provider and Alias

```
'providers' => [
    ...
    sdavis1902\QboPhp\Laravel\QboServiceProvider::class,
],
```

```
'aliases' => [
    ...
    'Qbo' => sdavis1902\QboPhp\Laravel\Facades\Qbo::class,
],
```

Add the following to your .env file

```
QBO_IDENTIFIER=identifier
QBO_SECRET=secret
QBO_CALLBACK_URL=http://someurl
```

You can now make the same calls through the Qbo class

```
Qbo::Auth()->connect();
Qbo::Customer()->find(1);
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Credits
-------

[](#credits)

- [Scott D](https://github.com/sdavis1902)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/556a02644ea903c2997a4249eddba15e8139928daaa5fc1ba33f32ffc9243e57?d=identicon)[sdavis1902](/maintainers/sdavis1902)

---

Top Contributors

[![sdavis1902](https://avatars.githubusercontent.com/u/9748546?v=4)](https://github.com/sdavis1902 "sdavis1902 (13 commits)")

### Embed Badge

![Health badge](/badges/sdavis1902-quickbooksonline-php/health.svg)

```
[![Health](https://phpackages.com/badges/sdavis1902-quickbooksonline-php/health.svg)](https://phpackages.com/packages/sdavis1902-quickbooksonline-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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