A MyAdmin plugin that integrates with the Kayako ticket and helpdesk system. It provides event-driven hooks for API registration, requirement loading, and settings management within the MyAdmin platform. The package exposes SOAP-compatible API functions for creating, listing, viewing, and replying to support tickets through Kayako.
- Registers ticket management API endpoints (create, list, view, reply)
- Hooks into MyAdmin's event dispatcher for seamless plugin integration
- Manages Kayako connection settings (API URL, key, secret)
- Input validation with descriptive error messages on all API calls
- Pagination support for ticket listing
Install with Composer:
composer require detain/myadmin-kayako-supportThe plugin uses three configuration constants that should be defined in your MyAdmin environment:
KAYAKO_API_URL- The base URL for the Kayako REST APIKAYAKO_API_KEY- Your Kayako API keyKAYAKO_API_SECRET- Your Kayako API secret
The plugin registers itself through MyAdmin's event dispatcher. The Plugin::getHooks() method returns the event-to-handler mappings:
use Detain\MyAdminKayako\Plugin;
$hooks = Plugin::getHooks();
// Returns: ['api.register' => ..., 'function.requirements' => ..., 'system.settings' => ...]composer install
vendor/bin/phpunitLicensed under the LGPL-2.1. See LICENSE for details.