PHPackages                             taylormaguire/connectwise-manage-api - 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. taylormaguire/connectwise-manage-api

ActiveLibrary

taylormaguire/connectwise-manage-api
====================================

A package to interact between Laravel and the ConnectWise Manage API

1441[8 issues](https://github.com/taylormaguire/connectwise-manage-api/issues)PHP

Since Jun 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/taylormaguire/connectwise-manage-api)[ Packagist](https://packagist.org/packages/taylormaguire/connectwise-manage-api)[ RSS](/packages/taylormaguire-connectwise-manage-api/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ConnectWise Manage API for Laravel / PHP
========================================

[](#connectwise-manage-api-for-laravel--php)

This is a package created to simplify connection requests to the ConnectWise Manage API for Laravel and PHP based applications.

Warning
-------

[](#warning)

This package is currently in development. Not suggested for production at this time.

Requirements
------------

[](#requirements)

- Guzzle 6.3
- Laravel 5.7+

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

[](#installation)

### Composer Installation

[](#composer-installation)

Install the package through composer in your terminal.

```
composer require taylormaguire/connectwise-manage-api

```

### Setup The Environment (.env File) for Authentication

[](#setup-the-environment-env-file-for-authentication)

Add these details to your .env environment file with your own details as appropriate. This package utilizes the ConnectWise Manage Member Authentication method. Details are found [here](https://developer.connectwise.com/Products/Manage/Developer_Guide#Authentication).

Each Environment Variable is REQUIRED for a successful connection.

```
CW_API_URL=
CW_CLIENT_ID=
CW_API_VERSION=
CW_COMPANY_ID=
CW_API_PUBLIC_KEY=
CW_API_PRIVATE_KEY=

```

#### API URL (CW\_API\_URL)

[](#api-url-cw_api_url)

Input your Manage URL. For Cloud or Staging servers you must put "api-" in front of the ConnectWise Manage URL.

```
https://api-au.myconnectwise.net
https://api-eu.myconnectwise.net
https://api-na.myconnectwise.net
https://api-staging.myconnectwise.net

```

#### Client ID (CW\_CLIENT\_ID)

[](#client-id-cw_client_id)

The Client ID is now required per application as of version 2019.3 of the Manage API. Learn about the Client ID and Generate your applications Client ID [here](https://developer.connectwise.com/ClientID#What_is_a_clientId).

#### API Version (CW\_API\_VERSION)

[](#api-version-cw_api_version)

Default recommendation is 2019.3 however you can use an older version by changing this environment variable.

#### Company ID (CW\_COMPANY\_ID)

[](#company-id-cw_company_id)

Every ConnectWise Manage instance has a Company ID used for login.

#### Public Key (CW\_API\_PUBLIC\_KEY) &amp; Private Key (CW\_API\_PRIVATE\_KEY)

[](#public-key-cw_api_public_key--private-key-cw_api_private_key)

The Public Key is a combination of your Company ID and your Public Key. For Example

```
company+PflTy8uZrw9yLoz6

```

The Public &amp; Private Keys are generated from inside of the ConnectWise Manage application. For instructions on how to create this account go [here](https://developer.connectwise.com/Products/Manage/Developer_Guide#Authentication).

#### Complete Environment Example

[](#complete-environment-example)

```
CW_API_URL=https://api-na.myconnectwise.net
CW_CLIENT_ID=7a3bedaed-73f0-441b-609c-c65e27aa3e12
CW_API_VERSION=2019.3
CW_COMPANY_ID=company
CW_API_PUBLIC_KEY=company+PflTy8uZrw9yLoz6
CW_API_PRIVATE_KEY=da34naA8Cja39aE1

```

Usage
-----

[](#usage)

### GET Request

[](#get-request)

Collect data from the ConnectWise Manage API using the query string parameters provided in the ConnectWise Manage API Documentation. This package will only passthrough keys that are provided by ConnectWise for Query String integrity.

Accepted Query String Parameters can be found [here](https://developer.connectwise.com/Products/Manage/Developer_Guide#Query_String_Parameters).

#### Example GET Request

[](#example-get-request)

Here is an GET Request Example using the Facade

```
use taylormaguire\CWManageAPI\CWManageAPI;

CWManageAPI::get('company/companies', [
    'pageSize' => 30,
    'page' => 1,
    'orderBy' => 'chargeToId asc',
    'fields' => 'id,company/name,status'
]);
```

The example above will output a query string of

```
https://api-na.myconnectwise.net/company/companies?pageSize=30&page=1&orderBy=company/name%20%asc&fields=id,company/name,status

```

#### Query String Parameters

[](#query-string-parameters)

[![Screenshot](https://github.com/taylormaguire/connectwise-manage-api/raw/master/connectwise_query_string_parameters.png)](https://github.com/taylormaguire/connectwise-manage-api/blob/master/connectwise_query_string_parameters.png)

#### Conditionals

[](#conditionals)

[![Screenshot](https://github.com/taylormaguire/connectwise-manage-api/raw/master/connectwise_conditionals.png)](https://github.com/taylormaguire/connectwise-manage-api/blob/master/connectwise_conditionals.png)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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://www.gravatar.com/avatar/e1a858f7baf73894f7dd85e4d23550cc5504672ba4c15009d469b2d709688281?d=identicon)[taylormaguire](/maintainers/taylormaguire)

---

Tags

connectwiseconnectwise-apiconnectwise-managelaravelmanage

### Embed Badge

![Health badge](/badges/taylormaguire-connectwise-manage-api/health.svg)

```
[![Health](https://phpackages.com/badges/taylormaguire-connectwise-manage-api/health.svg)](https://phpackages.com/packages/taylormaguire-connectwise-manage-api)
```

PHPackages © 2026

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