PHPackages                             coreproc/laravel-notification-channel-playsms - 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-playsms

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

coreproc/laravel-notification-channel-playsms
=============================================

This package makes it easy to send notifications using playSMS with Laravel 5.5+ and 6.0

1.0.0(6y ago)1101MITPHPPHP &gt;=7.2

Since Feb 7Pushed 6y ago4 watchersCompare

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

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

Laravel playSMS Notification Channel
====================================

[](#laravel-playsms-notification-channel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3995aa57a9ca6ed023d28ae39980a66f90cfb855a6442e1a78da30c1982e43bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f726570726f632f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d706c6179736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/coreproc/laravel-notification-channel-playsms)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![StyleCI](https://camo.githubusercontent.com/ba1456b03fc3d9b8d68c6bb17a4588d6f82b86d74d95a15c04fcc6fcb6997359/68747470733a2f2f7374796c6563692e696f2f7265706f732f3233383335383732322f736869656c64)](https://styleci.io/repos/238358722)[![Quality Score](https://camo.githubusercontent.com/83caf1e6fbec7e5a1a6624d69c36e0d7299b1a580fd616fd2abea15719b62462/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f636f726570726f632f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d706c6179736d732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/coreproc/laravel-notification-channel-playsms)[![Total Downloads](https://camo.githubusercontent.com/948fee1df7d23fd4b0f1649b4b8ca957df9c1484e87dc57b9b7f6595a0c1a9b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f726570726f632f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c2d706c6179736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/coreproc/laravel-notification-channel-playsms)

This package makes it easy to send notifications using [playSMS](https://playsms.org) with Laravel 5.5+ and 6.0

Contents
--------

[](#contents)

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

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

[](#installation)

Install this package with Composer:

```
composer require coreproc/laravel-notification-channel-playsms

```

### Setting up the playSMS service

[](#setting-up-the-playsms-service)

A web server with playSMS installed is required to use this service. Visit  to check out set up / installation instruction for playSMS.

Once you have a playSMS server up and running, you can obtain an API key by going to `My Account` -&gt; `User Configuration`. You'll be able to see your webservices token in that page. Use this as your API key.

Add the base URL of your playSMS server, your username, and your API key to your `config/services.php`.

```
// config/services.php
....
'playsms' => [
    'base_url' => env('PLAYSMS_BASE_URL'),
    'username' => env('PLAYSMS_USERNAME'),
    'api_key' => env('PLAYSMS_API_KEY'),
],
...

```

Usage
-----

[](#usage)

Sending a playSMS notification can be done by making a `Notification` class with the following:

```
use CoreProc\NotificationChannels\PlaySms\PlaySmsChannel;
use CoreProc\NotificationChannels\PlaySms\PlaySmsMessage;
use Illuminate\Notifications\Notification;

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

    public function toPlaySms($notifiable)
    {
        return (new PlaySmsMessage())->setMessage('Your account has been activated!');
    }
}
```

### Available Message methods

[](#available-message-methods)

The `PlaySmsMessage` has only one method available as of now:

```
setMessage($message)
```

Use this method to set the content of the SMS being sent.

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)

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

About CoreProc, Inc.
--------------------

[](#about-coreproc-inc)

CoreProc, Inc. is a software development company that provides software development services to startups, digital/ad agencies, and enterprises.

Learn more about us on our [website](https://coreproc.com).

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

2287d ago

### Community

Maintainers

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

---

Top Contributors

[![chrisbjr](https://avatars.githubusercontent.com/u/571279?v=4)](https://github.com/chrisbjr "chrisbjr (11 commits)")[![rdaitan-cp](https://avatars.githubusercontent.com/u/66294995?v=4)](https://github.com/rdaitan-cp "rdaitan-cp (3 commits)")[![kodumen](https://avatars.githubusercontent.com/u/8342995?v=4)](https://github.com/kodumen "kodumen (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

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