PHPackages                             karix/karix-sms-notification - 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. karix/karix-sms-notification

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

karix/karix-sms-notification
============================

Allow you to use karix sms as custom channel in laravel notifications

0.1.0(5y ago)15MITPHP

Since Aug 7Pushed 5y agoCompare

[ Source](https://github.com/pratik149/karix-sms-notification)[ Packagist](https://packagist.org/packages/karix/karix-sms-notification)[ RSS](/packages/karix-karix-sms-notification/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (4)Used By (0)

Karix Sms notifications channel for Laravel 7+
==============================================

[](#karix-sms-notifications-channel-for-laravel-7)

[![Build Status](https://camo.githubusercontent.com/f8412e0b5c9d74ab77fc9cf730af38c3e157127e62ad54771e3946c9e765cd0c/68747470733a2f2f7472617669732d63692e6f72672f732d7361727468616b2f4c61726176656c2d4e6f74696669636174696f6e2d4368616e6e656c2d4b617269782e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/s-sarthak/Laravel-Notification-Channel-Karix)[![StyleCI](https://camo.githubusercontent.com/48c24cc955962e585e5e536959c075277009b9397a38c7cd68762bd5f18d55d2/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3134333931333531312f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/143913511)[![GitHub license](https://camo.githubusercontent.com/f0b8301d9dfca2da21bb795c43d5cb2574ac45c40477a2ea37a8df71bd7a249a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f732d7361727468616b2f4c61726176656c2d4e6f74696669636174696f6e2d4368616e6e656c2d4b617269782e737667)](https://github.com/s-sarthak/Laravel-Notification-Channel-Karix/blob/master/LICENSE.md)[![GitHub stars](https://camo.githubusercontent.com/8ac05554e63013f7dfac20fc308eea9b6b37b246dd3dcd25fe5de8262ff8cbd6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f732d7361727468616b2f4c61726176656c2d4e6f74696669636174696f6e2d4368616e6e656c2d4b617269782e737667)](https://github.com/s-sarthak/Laravel-Notification-Channel-Karix/stargazers)

This package makes it easy to send sms via [Karix.io](karix.io) with Laravel 7+.

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

[](#installation)

You can install the package via composer:

```
composer require bitfumes/karix-notification-channel
```

### Setting up the Karix id and token

[](#setting-up-the-karix-id-and-token)

Login to Karix.io and get your ID and Token, put that on your .env file and add your Karix Id and Token to your `config/services.php`:

```
// config/services.php
...
    'karix' => [
        'id' => env('KARIX_ID'),
        'token' => env('KARIX_TOKEN'),
    ],
...
```

Usage
-----

[](#usage)

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

```
use Bitfumes\KarixNotificationChannel\KarixChannel;
use Bitfumes\KarixNotificationChannel\KarixMessage;
use Illuminate\Notifications\Notification;

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

    public function toKarix($notifiable)
    {
        return KarixMessage::create()
                        ->from('+1XXXXXXXXXX')
                        ->content('Your message comes here');
    }
}
```

In order to let your Notification know that there is a new channel called KarixSmsChannel, add the `routeNotificationForKarix` method to your Notifiable model (probably your user.php file).

This method needs to return email of the user (if it's a private board) and the list ID of the Trello list to add the card to.

Caveat : Make sure you have a 'phone' field in your table along with country code like +91xxxxxxxxxx for which you are using this.

```
public function routeNotificationForKarix()
{
    return $this->phone;
}
```

### Available methods

[](#available-methods)

- `version('')`: Accepts a string value for the Karix api version.
- `timezone('')`: Accepts a string value for the TimeZone if you want to set for sms.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

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

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Sarthak Shrivastava](https://github.com/s-sarthak)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.5% 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

Unknown

Total

1

Last Release

2139d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31278436?v=4)[Pratik Rane](/maintainers/pratik149)[@pratik149](https://github.com/pratik149)

---

Top Contributors

[![sarthaksavvy](https://avatars.githubusercontent.com/u/41295276?v=4)](https://github.com/sarthaksavvy "sarthaksavvy (21 commits)")[![pratik149](https://avatars.githubusercontent.com/u/31278436?v=4)](https://github.com/pratik149 "pratik149 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/karix-karix-sms-notification/health.svg)

```
[![Health](https://phpackages.com/badges/karix-karix-sms-notification/health.svg)](https://phpackages.com/packages/karix-karix-sms-notification)
```

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M228](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M52](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

PHPackages © 2026

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