asad / zoho-cliq
Zoho Cliq Message Helper.
Requires
- php: >=7.0
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- orchestra/testbench: 3.5.*
- phpunit/phpunit: 6.5.*
This package is auto-updated.
Last update: 2024-12-09 17:53:05 UTC
README
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.