Releases: spinen/connectwise-php-client
Releases · spinen/connectwise-php-client
Simplify syntax for POSTs, PATCHs, and PUTs
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
GitHub Actions
Merge pull request #44 from spinen/develop GitHub Actions, Fix badge URLs
Laravel 5.6 support
3.4.0 Support Laravel 5.6