PHPackages                             cuneytyuksel/toplusms - 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. cuneytyuksel/toplusms

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

cuneytyuksel/toplusms
=====================

Laravel Notification for toplusmsapi.com

v1.0.6(6y ago)0251MITPHP

Since Apr 18Pushed 6y agoCompare

[ Source](https://github.com/cuneytyuksel/toplusms)[ Packagist](https://packagist.org/packages/cuneytyuksel/toplusms)[ RSS](/packages/cuneytyuksel-toplusms/feed)WikiDiscussions master Synced 2mo ago

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

toplusmsapi SMS Notifications for Laravel 5.3
=============================================

[](#toplusmsapi-sms-notifications-for-laravel-53)

Introduction
------------

[](#introduction)

This is a simple Notifications channel for Laravel.

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

[](#installation)

First, you'll need to require the package with Composer:

```
composer require cuneytyuksel/toplusms
```

Aftwards, run `composer update` from your command line.

Then, update `config/app.php` by adding an entry for the service provider.

```
'providers' => [
	// ...
    Sms\TopluSms\TopluSmsProvider::class,
];
```

Then, update `config/services.php` by adding your toplusms credentials.

```
return [
   // ...
	,
        'toplusms' => [
            'username' => env('TOPLUSMS_USERNAME'),
            'password' => env('TOPLUSMS_PASSWORD'),
            'from' => env('TOPLUSMS_FROM', null), // Can be ovverdiden with $message->from()
        ]
    // ...
];
```

Usage
-----

[](#usage)

### Routing sms notifications

[](#routing-sms-notifications)

In order to send sms messages, you need to specify recipient for each notifiable entity. For instance in `app/user.php`

```
    // ...
    public function routeNotificationForSms(){
        return $this->phone;
    }
    // ...
```

### Sending notification

[](#sending-notification)

### via Method

[](#via-method)

In your notification class you can define channel as:

```
    // ...
    public function via($notifiable)
    {
        return ['sms'];
    }
    // ...
```

### toSMS Method

[](#tosms-method)

You also need to define, `toSms` method. You can:

1. Send a simple string as:

```
    // ...
    public function toSms($notifiable)
    {
        return "Hello World!";
    }
    // ...
```

2. Or define a from (sender) to override config:

```
    // ...
    public function toSms($notifiable)
    {
       $message = new SmsMessage("Hello World");
       $message->from("5xxxxxxxxx");
       return $message;
    }
    // ...
```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~147 days

Recently: every ~219 days

Total

7

Last Release

2425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/73c9b2f8ee60fd8fb7408bee1f43dd09f56c7781cffe63bd6c55cd07b64446f5?d=identicon)[cuneytyuksel](/maintainers/cuneytyuksel)

---

Top Contributors

[![cuneytyuksel](https://avatars.githubusercontent.com/u/5342493?v=4)](https://github.com/cuneytyuksel "cuneytyuksel (12 commits)")[![topcu](https://avatars.githubusercontent.com/u/1313469?v=4)](https://github.com/topcu "topcu (2 commits)")

### Embed Badge

![Health badge](/badges/cuneytyuksel-toplusms/health.svg)

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

###  Alternatives

[minishlink/web-push

Web Push library for PHP

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

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[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)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)

PHPackages © 2026

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