PHPackages                             kineticamobile/lubichannel - 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. kineticamobile/lubichannel

ActiveLibrary

kineticamobile/lubichannel
==========================

Laravel Notifications Channel for Ubicual

0.1(5y ago)119MITPHPPHP &gt;=7.2.5

Since Oct 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/kineticamobile/lubichannel)[ Packagist](https://packagist.org/packages/kineticamobile/lubichannel)[ Docs](https://github.com/kineticamobile/lubichannel)[ RSS](/packages/kineticamobile-lubichannel/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (6)Versions (2)Used By (0)

Laravel Notifications Channel for Ubicual
=========================================

[](#laravel-notifications-channel-for-ubicual)

This package makes it easy to send notifications using [Ubicual](https://www.ubicual.com/) with Laravel 7.x and 8.x

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the Ubicual service](#setting-up-your-ubicual-account)
- [Usage](#usage)
    - [On-Demand Notifications](#on-demand-notifications)
    - [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 kineticamobile/lubichannel
```

Setting up your Ubicual account
-------------------------------

[](#setting-up-your-ubicual-account)

Add your Ubicual Product Token and default originator (name or number of sender) to your `config/ubicual.php`:

```
// config/ubicual.php
...
return [
    'api_token' => env('UBICUAL_API_TOKEN'),
    'from' => env('UBICUAL_FROM', 'Ubicual'),
    'base_url' => env('UBICUAL_BASE_URL', 'https://api.ubicual.com/api/v1/sms/send'),
];

...
```

Usage
-----

[](#usage)

You can use the channel in your via() method inside the notification:

```
use Illuminate\Notifications\Notification;
use Kineticamobile\Ubicual\UbicualMessage;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return ["ubicual"];
    }

    public function toUbicual($notifiable)
    {
        return (new UbicualMessage)->content("Your account was approved!");
    }
}
```

In your notifiable model, make sure to include a routeNotificationForUbicual() method, which returns a phone number or an array of phone numbers.

```
public function routeNotificationForUbicual()
{
    return $this->phone_number;
}
```

### On-Demand Notifications

[](#on-demand-notifications)

Sometimes you may need to send a notification to someone who is not stored as a "user" of your application. Using the Notification::route method, you may specify ad-hoc notification routing information before sending the notification:

```
Notification::route('ubicual', '5555555555')
            ->notify(new InvoicePaid($invoice));
```

### Available Message methods

[](#available-message-methods)

`from('')`: Accepts a phone number/sender name to use as the notification sender.. *Make sure to register the sender name at you Ubicual dashboard.*

`content('')`: Accepts a string value for the notification body.

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, please email  instead of using the issue tracker.

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

[](#contributing)

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

Credits
-------

[](#credits)

- [Daniel Macías](https://github.com/dmaciasr)
- [Raul Tierno](https://github.com/raultm)
- [Emilio Ortiz](https://github.com/branigan)

License
-------

[](#license)

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

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

2034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/268b4ade9baa01da3db593e97acca7040f270ffa1cc8a9710cd5363098edcc50?d=identicon)[kinetica](/maintainers/kinetica)

---

Tags

kineticamobilelubichannel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kineticamobile-lubichannel/health.svg)

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

###  Alternatives

[laravel/slack-notification-channel

Slack Notification Channel for laravel.

89069.7M111](/packages/laravel-slack-notification-channel)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[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)

PHPackages © 2026

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