PHPackages                             codingfoundry/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. [API Development](/categories/api)
4. /
5. codingfoundry/connectwise-manage-api

ActiveLibrary[API Development](/categories/api)

codingfoundry/connectwise-manage-api
====================================

A package to interact between Laravel and the ConnectWise Manage API

018PHPCI failing

Since Nov 21Pushed 6y ago2 watchersCompare

[ Source](https://github.com/codingfoundry/connectwise-manage-api)[ Packagist](https://packagist.org/packages/codingfoundry/connectwise-manage-api)[ RSS](/packages/codingfoundry-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 codingfoundry/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 CodingFoundry\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/codingfoundry/connectwise-manage-api/raw/master/connectwise_query_string_parameters.png)](https://github.com/codingfoundry/connectwise-manage-api/blob/master/connectwise_query_string_parameters.png)

#### Conditionals

[](#conditionals)

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

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 76.9% 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/18236969?v=4)[Taylor Maguire](/maintainers/taylormaguire)[@taylormaguire](https://github.com/taylormaguire)

---

Top Contributors

[![taylormaguire](https://avatars.githubusercontent.com/u/18236969?v=4)](https://github.com/taylormaguire "taylormaguire (10 commits)")[![reimergarry](https://avatars.githubusercontent.com/u/7049740?v=4)](https://github.com/reimergarry "reimergarry (3 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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