Cliq::sendMessage(), Cliq::createChannel()).CliqMessageSent) for downstream actions (e.g., logging, analytics).Cliq::sendMessage() requires minimal setup (API key, auth token).config/cliq.php aligns with Laravel conventions.guzzlehttp/guzzle (v7+) and Laravel’s HTTP client. Version conflicts could arise in monorepos or legacy projects.zoho/zoho-php (unlike some competitors), reducing indirect dependency risks..env). No built-in encryption or key rotation—implement via Laravel’s Vault or Hashicorp Vault.mocks:generate or a custom trait).config/services.php:
'cliq' => [
'api_key' => env('ZOHO_CLIQ_API_KEY'),
'auth_token' => env('ZOHO_CLIQ_AUTH_TOKEN'),
'base_url' => env('ZOHO_CLIQ_BASE_URL', 'https://api.cliq.zoho.com'),
],
use Realrashid\LaravelZohoCliq\Facades\Cliq;
Cliq::sendMessage('channel-id', 'Hello from Laravel!');
CliqMessageSent) for analytics or logging.try-catch or use Laravel middleware to handle failures./zoho/cliq/webhook).dispatch(new SendCliqMessage($channelId, $message));
guzzlehttp/guzzle and Laravel versions in composer.json to avoid surprises.composer why-not to check for version conflicts..env with Laravel’s .env.example template.README or wiki.debugbar or telescope to inspect API responses.api_key and auth_token in .env.How can I help you explore Laravel packages today?