PHPackages                             acadea/connectwise-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. acadea/connectwise-php

ActiveLibrary[API Development](/categories/api)

acadea/connectwise-php
======================

An extensible Connectwise API client for PHP / Laravel.

021PHP

Since Oct 8Pushed 6y agoCompare

[ Source](https://github.com/acadea/connectwise-php)[ Packagist](https://packagist.org/packages/acadea/connectwise-php)[ RSS](/packages/acadea-connectwise-php/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Connectwise PHP Client for Laravel
==================================

[](#connectwise-php-client-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/257ae282c8e2e44d23c8f1b995f2cbefea9af2a885c1e430e1141427a053cac6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6163616465612f636f6e6e656374776973652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acadea/connectwise-php)[![Build Status](https://camo.githubusercontent.com/d93fc805eed227c368c39f88fcfb4b1e88be1ee33829b609db0bd9cc562f80b8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6163616465612f636f6e6e656374776973652d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/acadea/connectwise-php)[![Quality Score](https://camo.githubusercontent.com/663b8a3be763972e8cb28e284ec8a4eab288ecdcef588346c57e36016b0b4041/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6163616465612f636f6e6e656374776973652d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/acadea/connectwise-php)[![Total Downloads](https://camo.githubusercontent.com/86020e6733962a3b8b1e486aee1c8aa59e283c75965b005f4c895df5f01b9d6c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6163616465612f636f6e6e656374776973652d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/acadea/connectwise-php)

Lightweight and Extensible Connectwise PHP client for Laravel 6.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require acadea/connectwise-php
```

Add the following env variable to .env

```
CW_COMPANY_ID=
CW_PRIVATEKEY=
CW_PUBLICKEY=

# e.g https://api-au.myconnectwise.net/v4_6_release/apis/3.0/
CW_API_VERSION_BASEURL=
# you can find this at api addr : /v4_6_release/apis/3.0/system/info/locations
CW_HOMEOFFICE_LOCATION=
CW_CLIENT_ID=
```

Usage
-----

[](#usage)

Easily use the API client. The request method returns a laravel Collection object.

```
ConnectwiseClient::request('get', 'company/companies');
ConnectwiseClient::request('get', 'company/companies/1');
ConnectwiseClient::request('post', 'company/companies', $payloadArray);
ConnectwiseClient::request('patch', 'company/companies/1', $payloadArray);
ConnectwiseClient::request('delete', 'company/companies/1');
```

Or use the Connectwise Class. Conveniently preloaded with 'get', 'create', 'update', 'find', 'delete' and 'count' methods

```
$cw = new Connectwise('company/companies');
$collection = $cw->get([
  'conditions'=> "identifier='XYZTestCompany'"
])

$collection = $cw->update( $id,
  [
      [
          'op' => 'replace',
          'path' => 'phoneNumber',
          'value' => '054684321',
      ],
      [
          'op'   => 'replace',
          'path' => 'city',
          'value' => 'heya',
      ],
  ]

$collection = $cw->delete($id);

$collection = $cw->find($id);

$int = $cw->count($filter);
```

#### Extends the Connectwise class to create your own endpoint client

[](#extends-the-connectwise-class-to-create-your-own-endpoint-client)

Make sure to include the uri property to customise the endpoint.

```
use Acadea\Connectwise;

class Company extends Connectwise
{
    protected $uri = "company/companies"

    public function getInvoices()
    {
        // ....
    }
}
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Sam Ngu](https://github.com/sam-ngu)
- [All Contributors](../../contributors)

About us
--------

[](#about-us)

Acadea is a technology-focused company based in Perth, Western Australia. Our primary focus is on web development and software integrations! On top of that we also teach people about technology and programming.

##### [Visit our Website](https://acadea.com.au)

[](#visit-our-website)

##### [Contact us: hello@acadea.com.au](mailto:hello@acadea.com.au)

[](#contact-us-helloacadeacomau)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 69.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56226102?v=4)[Acadea](/maintainers/Acadea)[@acadea](https://github.com/acadea)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (80 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (13 commits)")[![willemvb](https://avatars.githubusercontent.com/u/1336390?v=4)](https://github.com/willemvb "willemvb (3 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (3 commits)")[![sixlive](https://avatars.githubusercontent.com/u/5108034?v=4)](https://github.com/sixlive "sixlive (3 commits)")[![gizburdt](https://avatars.githubusercontent.com/u/1470623?v=4)](https://github.com/gizburdt "gizburdt (2 commits)")[![brendt](https://avatars.githubusercontent.com/u/6905297?v=4)](https://github.com/brendt "brendt (2 commits)")[![svenluijten](https://avatars.githubusercontent.com/u/11269635?v=4)](https://github.com/svenluijten "svenluijten (1 commits)")[![Tjoosten](https://avatars.githubusercontent.com/u/5157609?v=4)](https://github.com/Tjoosten "Tjoosten (1 commits)")[![yaroslawww](https://avatars.githubusercontent.com/u/23663794?v=4)](https://github.com/yaroslawww "yaroslawww (1 commits)")[![chapeupreto](https://avatars.githubusercontent.com/u/834048?v=4)](https://github.com/chapeupreto "chapeupreto (1 commits)")[![kapersoft](https://avatars.githubusercontent.com/u/13007854?v=4)](https://github.com/kapersoft "kapersoft (1 commits)")[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (1 commits)")[![osbre](https://avatars.githubusercontent.com/u/23292709?v=4)](https://github.com/osbre "osbre (1 commits)")[![sam-ngu](https://avatars.githubusercontent.com/u/30950704?v=4)](https://github.com/sam-ngu "sam-ngu (1 commits)")[![strebl](https://avatars.githubusercontent.com/u/6151204?v=4)](https://github.com/strebl "strebl (1 commits)")

### Embed Badge

![Health badge](/badges/acadea-connectwise-php/health.svg)

```
[![Health](https://phpackages.com/badges/acadea-connectwise-php/health.svg)](https://phpackages.com/packages/acadea-connectwise-php)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
