asad/zoho-cliq

Zoho Cliq Message Helper.

1.0.2 2020-03-28 03:22 UTC

This package is auto-updated.

Last update: 2024-12-09 17:53:05 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads License

This is a simple laravel package for Zoho Cliq. It's use token base authentication. So, you will get only message api helper method from this package.

Installation

You can install the package via composer:

composer require asad/zoho-cliq

Config

After executing the following command you will get zcliq.php file under config directory. Set Authtoken, Channel Name, Send to(Channel, Chat, Bot, User) in the config file.

php artisan vendor:publish --provider="Asad\ZohoCliq\ZohoCliqServiceProvider"

Usage

use Asad\ZohoCliq\ZCliq;

// Inside method
ZCliq::to('channel_name')->card([
            'title' => 'ANNOUNCEMENT',
            'theme' => 'modern-inline',
            'thumbnail' => 'https://www.zoho.com/cliq/help/restapi/images/announce_icon.png'
        ])->send("Send Message to Cliq Channel using asad/zoho-cliq package");

//Without Card
ZCliq::to('channel_name')->send("Send Message to Cliq Channel using asad/zoho-cliq package");

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email asadku34@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.