- Error handling is ok, but could be improved.
- Not 100% consistent with return types, check method comments.
- Copy the FreshdeskRest.php into your project.
- Here's some code.
<?php
require_once("FreshdeskRest.php");
$fd = new FreshdeskRest("yoursubdomain.freshdesk.com", "your_username", "your_password");