Skip to content

Releases: spinen/connectwise-php-client

Simplify syntax for POSTs, PATCHs, and PUTs

22 Feb 18:09
Compare
Choose a tag to compare

Improve passing options to the client by setting the "body" key and encoding the options in JSON so the user doesn't have to.

For example, prior to this release I have to do this to pass in data to the client for POST, PATCH and PUT:

        $patch_data = [
            'body' => json_encode(
                [
                    'op'    => 'replace',
                    'path'  => '/priority/id',
                    'value' => $priority['id'],
                ]
            ),
        ];

$connectwise_client->patch("url/to/patch/to/$id", $patch_data);

With this release I'll only have to do this:

        $patch_data = [
                    'op'    => 'replace',
                    'path'  => '/priority/id',
                    'value' => $priority['id'],
                ];

$connectwise_client->patch("url/to/patch/to/$id", $patch_data);

Fix bugs

04 Nov 21:43
Compare
Choose a tag to compare
  • Fix #40
  • Fix comments, Scrutinizer issues
  • Increase code coverage

GitHub Actions

19 Jun 22:18
31b71fa
Compare
Choose a tag to compare
Merge pull request #44 from spinen/develop

GitHub Actions, Fix badge URLs

Laravel 5.6 support

23 Mar 21:40
Compare
Choose a tag to compare
3.4.0

Support Laravel 5.6