PHPackages                             ishaarat/lara-ishaarat - 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. ishaarat/lara-ishaarat

ActiveLibrary

ishaarat/lara-ishaarat
======================

Send Whatsapp notifications from your laravel application using Ishaarat

1.0.4(2y ago)1181[1 PRs](https://github.com/Ishaarat/lara-ishaarat/pulls)GPL-3.0-or-laterPHPPHP ^7.4|^8.1

Since Sep 1Pushed 2y agoCompare

[ Source](https://github.com/Ishaarat/lara-ishaarat)[ Packagist](https://packagist.org/packages/ishaarat/lara-ishaarat)[ Docs](https://ishaarat.com/)[ RSS](/packages/ishaarat-lara-ishaarat/feed)WikiDiscussions master Synced 1mo ago

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

🎁 Laravel Whatsapp Gateway
==========================

[](#gift-laravel-whatsapp-gateway)

[![GitHub License](https://camo.githubusercontent.com/056112ce24fa0a062ab4c07c1ffdb135f83d90c4427c867b7eb66db18d5eff6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f69736861617261742f6c6172612d69736861617261743f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/056112ce24fa0a062ab4c07c1ffdb135f83d90c4427c867b7eb66db18d5eff6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f69736861617261742f6c6172612d69736861617261743f7374796c653d666f722d7468652d6261646765)[![Latest Version on Packagist](https://camo.githubusercontent.com/bec86ecfad43140b09eae9aae6ad19202abd07c4788703d144cc076ee0afe622/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69736861617261742f6c6172612d69736861617261742e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d636f6d706f736572)](https://packagist.org/packages/ishaarat/lara-ishaarat)[![Total Downloads](https://camo.githubusercontent.com/dff5ee4b3da5fde948a921e231769b1c0f38cad7e6d02fe194171b9fb7e476bb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69736861617261742f6c6172612d69736861617261742e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c)](https://packagist.org/packages/ishaarat/lara-ishaarat)

This is a Laravel Package for Ishaarat Gateway Integration. Now Sending Whatsapp messages is easy.

📦 Install
---------

[](#package-install)

Via Composer

```
$ composer require ishaarat/lara-ishaarat
```

If you are using Laravel 5.5 and higher, the service provider will be automatically registered.

For older versions, you have to add the service provider and alias to your `config/app.php`:

```
'providers' => [
    ...
    Ishaarat\LaraIshaarat\Providers\IshaaratServiceProvider::class,
]

'alias' => [
    ...
    'Ishaarat' => Ishaarat\LaraIshaarat\Facades\WA::class,
]
```

⚡ Configure
-----------

[](#zap-configure)

Publish the config file

```
php artisan vendor:publish --provider="Ishaarat\LaraIshaarat\Providers\IshaaratServiceProvider"

```

Then fill your auth key and app key you got from your [Ishaarat Account](https://ishaarat.com).

```
// Eg. for SNS.
'auth_key' => env('ISHAARAT_AUTH_KEY', 'xxxxxx'),
'app_key' => env('ISHAARAT_APP_KEY', 'xxxx'),
```

or you can add these keys in your `.env` file

```
ISHAARAT_AUTH_KEY=xxxxxx
ISHAARAT_APP_KEY=xxxxx
```

🔥 Usage
-------

[](#fire-usage)

By using Facade method.

```
# On the top of the file.
use Ishaarat\LaraIshaarat\Facades\WA;

////

# In your Controller.
WA::send("this message", function($waMsg) {
    $waMsg->to(['Number 1', 'Number 2']); # The numbers to send to.
});
# OR...
WA::send("this message")->to(['Number 1', 'Number 2'])->dispatch();
```

By using helper method

```
ishaaratWA()->send("this message", function($waMsg) {
    $waMsg->to(['Number 1', 'Number 2']); # The numbers to send to.
});

ishaaratWA()->send("this message")->to(['Number 1', 'Number 2'])->dispatch();
```

😍 Channel Usage
---------------

[](#heart_eyes-channel-usage)

First you have to create your notification using `php artisan make:notification` command. then `WAChannel::class` can be used as channel like the below:

```
namespace App\Notifications;

use Ishaarat\LaraIshaarat\Builder;
use Illuminate\Bus\Queueable;
use Ishaarat\LaraIshaarat\Channels\WAChannel;
use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue;

class InvoicePaid extends Notification
{
    use Queueable;

    /**
     * Get the notification channels.
     *
     * @param  mixed  $notifiable
     * @return array|string
     */
    public function via($notifiable)
    {
        return [WAChannel::class];
    }

    /**
     * Get the repicients and body of the notification.
     *
     * @param  mixed  $notifiable
     * @return Builder
     */
    public function toWhatsapp($notifiable)
    {
        return (new Builder)
            ->send('this message')
            ->to('some number');
    }
}
```

> **Tip:** You can use the same Builder Instance in the send method.

```
$builder = (new Builder)
    ->send('this message')
    ->to('some number');

WA::send($builder);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

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 ~1 days

Total

5

Last Release

983d ago

PHP version history (2 changes)1.0.0PHP ^8.1

1.0.4PHP ^7.4|^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b7a069f68ac1fc204fa2904e72c78e9617ef6e016f0c9fece0acf2ccf665066?d=identicon)[ishaarat](/maintainers/ishaarat)

---

Top Contributors

[![Mo7amad7amdy](https://avatars.githubusercontent.com/u/26234384?v=4)](https://github.com/Mo7amad7amdy "Mo7amad7amdy (8 commits)")[![ahmedallamul](https://avatars.githubusercontent.com/u/106750369?v=4)](https://github.com/ahmedallamul "ahmedallamul (2 commits)")

---

Tags

whatsapplaravel twiliolaravel link mobilityishaaratlaravel whatsapp gatewaylaravel ishaarat

### Embed Badge

![Health badge](/badges/ishaarat-lara-ishaarat/health.svg)

```
[![Health](https://phpackages.com/badges/ishaarat-lara-ishaarat/health.svg)](https://phpackages.com/packages/ishaarat-lara-ishaarat)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[torchlight/torchlight-laravel

A Laravel Client for Torchlight, the syntax highlighting API.

120452.8k11](/packages/torchlight-torchlight-laravel)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[iankumu/mpesa

A package that helps integrate the Mpesa APIs to your Laravel Project

5014.7k](/packages/iankumu-mpesa)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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