Download the PHP package ali3bdalla/laravel-quickbooks-client without Composer

On this page you can find all versions of the php package ali3bdalla/laravel-quickbooks-client. 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-client

SPINEN's Laravel QuickBooks Client

Latest Stable Version Latest Unstable Version Total Downloads License

PHP client wrapping the QuickBooks PHP SDK.

We solely use Laravel 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

Branch Status Coverage Code Quality
Develop Build Status Code Coverage Scrutinizer Code Quality
Master Build Status Code Coverage Scrutinizer Code Quality

Installation

  1. Install QuickBooks PHP Client:

  2. Run our migration to install the quickbooks_tokens table:

The package uses the auto registration feature of Laravel.

Configuration

  1. 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 .

  1. Add the appropriate values to your

    Minimal Keys

    Optional Keys

  2. [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 laravel-quickbooks-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/database Version ^10.0
illuminate/http Version ^10.0
illuminate/routing Version ^10.0
illuminate/support Version ^10.0
nesbot/carbon Version ^2.62.1
quickbooks/v3-php-sdk Version ^5.4.6
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 ali3bdalla/laravel-quickbooks-client contains the following files

Loading the files please wait ....