PHPackages                             mehrdadep/laravel-zoho-cliq - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. mehrdadep/laravel-zoho-cliq

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

mehrdadep/laravel-zoho-cliq
===========================

Notification provider for laravel based on the Zoho Cliq

0.5.1(3y ago)0682MITPHPPHP &gt;=7.2

Since Aug 15Pushed 3y agoCompare

[ Source](https://github.com/mehrdadep/laravel-zoho-cliq)[ Packagist](https://packagist.org/packages/mehrdadep/laravel-zoho-cliq)[ Docs](https://github.com/mehrdadep/laravel-zoho-cliq)[ RSS](/packages/mehrdadep-laravel-zoho-cliq/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Zoho Cliq Notifications Channel for Laravel
===========================================

[](#zoho-cliq-notifications-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/60cc0a6952dacd9655ecd5678e45f06019f8d025fc36990d67b38632a59e101d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d65687264616465702f6c61726176656c2d7a6f686f2d636c69712e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mehrdadep/laravel-zoho-cliq)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

This package makes it easy to send notifications using [Zoho Cliq](https://www.zoho.com/nl/cliq/) with Laravel 5.5+, 6.x and 7.x

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Zoho Cliq service](#setting-up-the-zoho-cliq-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require mehrdadep/laravel-zoho-cliq

```

Next, if you're using Laravel without auto-discovery, add the service provider to config/app.php:

```
'providers' => [
// ...
NotificationChannels\ZohoCliq\ZohoCliqServiceProvider::class,
],

```

### Setting up the Zoho Cliq service

[](#setting-up-the-zoho-cliq-service)

Create a [webhook token](https://cliq.zoho.com/integrations/webhook-tokens) and follow the guides from [here](https://www.zoho.com/cliq/help/restapi/v2/#Post_Message_Channel) to set up a bot or post to the channel directly with the user (e.g. `https://cliq.zoho.com/api/v2/channelsbyname/alerts/message?zapikey=2002.1c84cd1a2ffd304f57d44ecddc157d59.127g8g495367a04017a2d9af0bc5666f8&bot_unique_name=custombot`)

Then, configure your webhook url:

Add the following code to your `config/services.php`:

```
// config/services.php
...
'zoho_cliq' => [
'webhook_url' => env('ZOHO_CLIQ_WEBHOOK_URL'),
],
...

```

You can also add multiple webhooks if you have multiple teams or channels, it's up to you.

```
// config/services.php
...
'zoho_cliq' => [
    'sales_url' => env('ZOHO_CLIQ_SALES_WEBHOOK_URL'),
    'dev_url' => env('ZOHO_CLIQ_DEV_WEBHOOK_URL'),
],
...

```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use Illuminate\Notifications\Notification;
use NotificationChannels\ZohoCliq\ZohoCliqChannel;
use NotificationChannels\ZohoCliq\ZohoCliqMessage;

class SubscriptionCreated extends Notification
{
public function via($notifiable)
{
return [ZohoCliqChannel::class];
}

    public function toZohoCliq($notifiable)
    {
        return ZohoCliqMessage::create()
            ->to(config('services.zoho_cliq.sales_url'))
            ->payload(["text" => "a sample message"]);
    }
}

```

Instead of adding the `to($url)` method for the recipient you can also add the `routeNotificationForZohoCliq` method inside your Notifiable model. This method needs to return the webhook url.

```
public function routeNotificationForZohoCliq(Notification $notification)
{
   return config('services.zoho_cliq.sales_url')
}

```

#### On-Demand Notification Usage

[](#on-demand-notification-usage)

To use on demand notifications you can use the route method on the Notification facade.

```
Notification::route(ZohoCliqChannel::class,null)
->notify(new SubscriptionCreated());

```

Available Message methods
-------------------------

[](#available-message-methods)

- `to(string $webhookUrl)`: Recipient's webhook url.
- `payload(string $summary)`: Payload generated based on the [Zoho docs](https://www.zoho.com/cliq/help/restapi/v2/#Post_Message_Channel).

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, use the issues.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [mehrdadep](https://github.com/mehrdadep)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor3

3 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1366d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c42692bfc43f4e31b80a19254878ace9ccfac929bda109a805d167245b0b9bf?d=identicon)[mehrdadep](/maintainers/mehrdadep)

---

Top Contributors

[![atymic](https://avatars.githubusercontent.com/u/50683531?v=4)](https://github.com/atymic "atymic (12 commits)")[![mehrdadep](https://avatars.githubusercontent.com/u/15052203?v=4)](https://github.com/mehrdadep "mehrdadep (9 commits)")[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (7 commits)")[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (7 commits)")[![irazasyed](https://avatars.githubusercontent.com/u/1915268?v=4)](https://github.com/irazasyed "irazasyed (6 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (4 commits)")[![lukewaite](https://avatars.githubusercontent.com/u/618130?v=4)](https://github.com/lukewaite "lukewaite (2 commits)")[![casperboone](https://avatars.githubusercontent.com/u/15815208?v=4)](https://github.com/casperboone "casperboone (2 commits)")[![JayBizzle](https://avatars.githubusercontent.com/u/340752?v=4)](https://github.com/JayBizzle "JayBizzle (1 commits)")[![talvbansal](https://avatars.githubusercontent.com/u/7305131?v=4)](https://github.com/talvbansal "talvbansal (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mehrdadep-laravel-zoho-cliq/health.svg)

```
[![Health](https://phpackages.com/badges/mehrdadep-laravel-zoho-cliq/health.svg)](https://phpackages.com/packages/mehrdadep-laravel-zoho-cliq)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[laravel-notification-channels/fcm

FCM (Firebase Cloud Messaging) Notifications Driver for Laravel

5917.0M16](/packages/laravel-notification-channels-fcm)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
