Skip to content

Laravel QuickBooks desktop Connector

License

Notifications You must be signed in to change notification settings

jewelhuq/laravel-qbd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel QBD

I've been searching how to integrate QB Web connector with Laravel 5.x but coudn't find any. So I made this example package for you if ever you are in the same situation as I was. Feel free to clone/copy and modify it however you like.

Getting Started

These instructions will get you a copy of the package up and running on your local machine for development and testing purposes.

If you are not yet familiar with QB Web Connector, visit this for quick start guides

Installation

Require the QuickBooks PHP DevKit (QuickBooks integration support for PHP 5.x+)

composer require consolibyte/quickbooks 

Then manually require this package:

  1. Download/clone the files and save it under your app's packages/iresci23/laravel-qbd/ folder. Just create this folder if it is not yet existing.

  2. Add this to your composer.json psr-4 autoload. It would look like this:

"psr-4": {
    "App\\": "app/",
    "Iresci23\\LaravelQbd\\": "packages/iresci23/laravel-qbd/src"
}
  1. Add this line to your config/app.php provider
Iresci23\LaravelQbd\LaravelQbdServiceProvider::class
  1. On the command line publish the config file for the package
php artisan vendor:publish --tag=config
  1. These are the variables you need to set in your .env file
QB_DSN= #if this is empty, it will auto use your app db config
# web connector username & password has nothing to do with the real QB user login
QB_USERNAME=quickbooks
QB_PASSWORD=password
QB_TIMEZONE=America/New_York
QB_LOGLEVEL=QUICKBOOKS_LOG_DEVELOP
QB_MEMLIMIT=512M
QB_SOAPSERVER=QUICKBOOKS_SOAPSERVER_BUILTIN
  1. Visit http://yourappurl/qbd-connector/qbwc to see if it works

  2. Generate your .qwc file by visiting http://yourappurl/qbd-connector/generate-qwc Upload this qwc file into the QB Web Connector application.

That's it.

You can check the code, there is a sample for syncing Customer info.

About

Laravel QuickBooks desktop Connector

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.4%
  • HTML 2.6%