Download the PHP package michaelhull/connectwise-php-client without Composer

On this page you can find all versions of the php package michaelhull/connectwise-php-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 connectwise-php-client

SPINEN's ConnectWise PHP Client

Latest Stable Version Total Downloads Latest Unstable Version Dependency Status License

PHP client for the RestFull ConnectWise APIs. This package used to be based on the SOAP APIs & had 3 separate repositories, but as of this version there is only this one.

We solely use Laravel for our applications, so there is some Laravel specific files that you can use if you are using this client in a Laravel application. We have tried to make sure that you can use the client outside of Laravel, and have some documentation about it below.

Note about the integration

We are using the "Member Impersonation" model where you setup an integrator username & password with access to the "Member API", which makes all calls to ConnectWise performed under the permission of the user (member id) of the application.

We make all of our ConnectWise users' member ID equal to their email (i.e. [email protected] has a member ID of joedoe in connectwise) [NOTE: The "." was removed from joe.doe as ConnectWise does not allow dots in the member ID]. By following this convention, we can infer the member ID from the logged in user's email address in our applications. We have included a trait that you can use on the User model that will preform the logic above.

Laravel Configuration and Usage

Configuration

  1. Add the following to ...

  2. Add the appropriate values to your ...

  3. Add the provider to

  4. [Optional] Add the alias to

  5. Use the trait on the User model, which is located at , if your ConnectWise member_id is a match to your email as described above. If you do not follow that convention, then you can define your own accessor on the User model or just add a column to your user table that you populate with the appropriate values.

Usage

Here is an example of getting the system information...

As of version 3.1.0, the response is either a Laravel collection of models or a single model. You can see the models in . They all extend , so you can see the methods that they provide.

Same call using the facade...

Non-Laravel Usage

To use the client outside of Laravel, you just need to new-up the objects...


All versions of connectwise-php-client with dependencies

PHP Build Version
Package Version
Requires php Version >=7
guzzlehttp/guzzle Version ^6.2
illuminate/support Version ~5.3
nesbot/carbon Version ~1.20
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 michaelhull/connectwise-php-client contains the following files

Loading the files please wait ....