PHPackages                             coreproc/laravel-notification-channel-globe-labs-sms - 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. coreproc/laravel-notification-channel-globe-labs-sms

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

coreproc/laravel-notification-channel-globe-labs-sms
====================================================

This package makes it easy to send notifications using Globe Labs SMS with Laravel 5.3, 5.4, and 5.5

0.3.0(7y ago)3231MITPHPPHP &gt;=5.6.4

Since May 5Pushed 7y ago4 watchersCompare

[ Source](https://github.com/CoreProc/laravel-notification-channel-globe-labs-sms)[ Packagist](https://packagist.org/packages/coreproc/laravel-notification-channel-globe-labs-sms)[ Docs](https://github.com/coreproc/globe-labs-sms-notification)[ RSS](/packages/coreproc-laravel-notification-channel-globe-labs-sms/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (8)Used By (0)

Laravel Globe Labs SMS Notification Channel
===========================================

[](#laravel-globe-labs-sms-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/03ba3cb4f97652c13f5ce1badea4410f579acaab4853ddab0a6f59334b3ea607/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f726570726f632f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d676c6f62652d6c6162732d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/laravel-notification-channel-globe-labs-sms)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/e49f0cba0562448c6c3a6682e5e611580b86ea83d36f93a72a83aa7ce12db289/68747470733a2f2f7374796c6563692e696f2f7265706f732f3862324f30342f736869656c64)](https://styleci.io/repos/8b2O04)[![SensioLabsInsight](https://camo.githubusercontent.com/081e163b29d2fe626770713523629f9d66d6be120d41d86d112e1df59d95db9a/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f31646534396231372d373963392d346538622d383136622d3538356438343631323866652e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/1de49b17-79c9-4e8b-816b-585d846128fe)[![Quality Score](https://camo.githubusercontent.com/abdf2d50a53e2fb96077fe3b625a08c8033ec38de3a05fc18f6afb637a68d159/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f636f726570726f632f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d676c6f62652d6c6162732d736d732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/coreproc/laravel-notification-channel-globe-labs-sms)[![Total Downloads](https://camo.githubusercontent.com/044379cb59676b29f283319271cd72af8cfb7f7609d60e3a7eba70f478f3dff3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f726570726f632f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d676c6f62652d6c6162732d736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/coreproc/laravel-notification-channel-globe-labs-sms)

This package makes it easy to send notifications using [Globe Labs SMS](http://www.globelabs.com.ph/#!/developer/api/sms) with Laravel 5.3 and above.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the GlobeLabsSms service](#setting-up-the-Globe-Labs-Sms-service)
- [Usage](#usage)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Install this package with Composer:

```
composer require coreproc/laravel-notification-channel-globe-labs-sms

```

Register the ServiceProvider in your config/app.php (Skip this step if you are using Laravel 5.5 and above):

```
Coreproc\GlobeLabsSms\GlobeLabsSmsServiceProvider::class,

```

### Setting up the Globe Labs Sms service

[](#setting-up-the-globe-labs-sms-service)

Start by creating a project here:

Please note that this package does not handle the opt-in steps required for a user to subscribe to your Globe Labs SMS application.

This package assumes that you have the opt-in steps handled either via [SMS](http://www.globelabs.com.ph/docs/#getting-started-opt-in-via-sms) or through a [web form](http://www.globelabs.com.ph/docs/#getting-started-opt-in-via-webform) and that you already have access to the subscriber's access token.

Once you've registered and set up your app, add the short code to your configuration in `config/broadcasting.php`

```
'connections' => [
    ....
    'globe_labs_sms' => [
        'short_code' => env('GLOBE_LABS_SMS_SHORT_CODE'),
    ],
    ...
]
```

Usage
-----

[](#usage)

Set a `routeNotificationForGlobeLabsSms()` method in your model/class with the `Notifiable` trait. For example:

```
class User extends Model
{
    use Notifiable;

    public function routeNotificationForGlobeLabsSms()
    {
        return [
            'access_token' => 'access-token-obtained-from-sms-opt-in-this-could-be-stored-in-your-database',
            'address' => '09171234567', // can be any format as long as it is a valid mobile number
        ];
    }
}
```

You can now send SMS via Globe Labs by creating an `GlobeLabsSmsMessage` in a `Notification` class:

```
class AccountActivated extends Notification
{
    public function via($notifiable)
    {
        return [GlobeLabsSmsChannel::class];
    }

    public function toGlobeLabsSms($notifiable)
    {
        return GlobeLabsSmsMessage::create($notifiable)
            ->setMessage('This is a test message');
    }
}
```

Call the SMS notification by calling the `notify()` method in the model/class. For example:

```
$user = User::find(1);

$user->notify(new AccountActivated);
```

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)

- [Chris Bautista](https://github.com/chrisbjr)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Total

6

Last Release

2842d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7066371?v=4)[CoreProc](/maintainers/coreproc)[@CoreProc](https://github.com/CoreProc)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/coreproc-laravel-notification-channel-globe-labs-sms/health.svg)

```
[![Health](https://phpackages.com/badges/coreproc-laravel-notification-channel-globe-labs-sms/health.svg)](https://phpackages.com/packages/coreproc-laravel-notification-channel-globe-labs-sms)
```

###  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)
