Download the PHP package fullstack/quickbooks without Composer
On this page you can find all versions of the php package fullstack/quickbooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fullstack/quickbooks
More information about fullstack/quickbooks
Files in fullstack/quickbooks
Informations about the package quickbooks
Laravel QuickBooks Client
PHP client wrapping the QuickBooks PHP SDK.
Installation
-
Install QuickBooks PHP Client:
- Run our migration to install the
quickbooks_tokens
table:
The package uses the auto registration feature of Laravel.
Configuration
- You will need a relationship on your model. There is a trait named , which you can include on your model, which will setup the relationship. To do this implement the following:
Add to your service container at the top of User.php and also add the trait within the class. For example:
NOTE: If your model is not , then you will need to configure the path in the .
-
Add the appropriate values to your
Minimal Keys
Optional Keys
-
[Optional] Publish configs & views
Config
A configuration file named can be published to by running...
Views
View files can be published by running...
Usage
Here is an example of getting the company information from QuickBooks:
NOTE: Before doing these commands, go to your connect route (default: /quickbooks/connect) to get a QuickBooks token for your user
You can call any of the resources as documented in the SDK.
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 that gets registered as that will ensure the account is linked and redirect them to the connect
route if needed.
Here is an example route definition:
All versions of quickbooks with dependencies
illuminate/database Version ^10
illuminate/http Version ^10
illuminate/routing Version ^10
illuminate/support Version ^10
nesbot/carbon Version ^2.62.1
quickbooks/v3-php-sdk Version ^6.1