Download the PHP package myleshyson/laravel-quickbooks without Composer

On this page you can find all versions of the php package myleshyson/laravel-quickbooks. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-quickbooks

No Longer Maintained

For two reasons. I don't have the time anymore to work on this (it was only a hobby project) and a few months ago QuicBooks actually came out with it's own PHP SDK you can see it here. Though this package should work fine still (as of 09/15/2017) QuickBooks is going to have a much more consistent and higher quality package to work with their own system. It's also documented way better than this or Consolibyte. For those that have used it I hope it's been helpful! If you would like to take over this repo and convert it to use the QuickBooks SDK or something just let me know.

laravel-quickbooks

A nice wrapper around the Quickbooks Online SDK.

Installation

If you haven't already composer the quickbooks php sdk. If you're using php 7+ then you'll need to require the dev-master version.

Then require this package via composer

Add this line to you config/app.php.

Finally on the command line publish the config file for the package like so.

These are the variables you need to set in your .env.

After that you should be set to go!

Usage

This package was made for working with the QuickBooks Accounting API in mind. You can look at all of the accounting resources here under 'Transaction' and 'Name list' resources. QuickBooks Accounting API

Note On Working With QuickBooks

Just because in the QuickBooks documentation something says optional doesn't mean that you don't need it for your request. If your request doesn't go through make sure to dd() to see what error QuickBooks is giving back. It may be asking you to set something that is optional.

There are a few resources that aren't supported by the QuickBooks SDK and those are listed here:

Quick Note: Make sure when using this package you import the Facade class you want to use under Myleshyson\LaravelQuickBooks\Facades

Connecting To QuickBooks

Make sure the success url is differnt than the oauth (connection) url. Otherwise it will continually redirect you after a succsful

If you want to disconnect from quickbooks then you can do it like so.

If you want to check if your connected

Making Requests

Every resource that's available has four methods except for TaxRate and TaxCode. Those only have a get, find, and query method.

I used the same naming conventions as the QuickBooks API to make things easier. In order to create a resource like Customer for example, you would use it like this...

To handle any type of line in QuickBooks handle it like so.

Here are the different line types in quickbooks:


All versions of laravel-quickbooks with dependencies

PHP Build Version
Package Version
Requires consolibyte/quickbooks Version dev-master
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package myleshyson/laravel-quickbooks contains the following files

Loading the files please wait ....