PHPackages                             neolikotsi/laravel-smsportal - 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. neolikotsi/laravel-smsportal

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

neolikotsi/laravel-smsportal
============================

SMS Portal Notification Channel for laravel

3.0.0(5y ago)154836[2 PRs](https://github.com/neolikotsi/laravel-smsportal/pulls)MITPHPPHP &gt;=7.3

Since Mar 5Pushed 3y ago2 watchersCompare

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

READMEChangelogDependencies (5)Versions (26)Used By (0)

### SMS Portal Notification Channel for laravel

[](#sms-portal-notification-channel-for-laravel)

SMS Notifications
-----------------

[](#sms-notifications)

Version Support
---------------

[](#version-support)

Laravel 5.5+

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

[](#installation)

Send SMS notifications in Laravel powered by [SMSPortal](https://www.smsportal.com/). Before you can send notifications via SMSPortal, you need to install the `neolikotsi/laravel-smsportal` Composer package:

```
composer require neolikotsi/laravel-smsportal
```

The package will automatically register itself.

You can publish the migration with:

```
php artisan vendor:publish --provider="Illuminate\Notifications\SMSPortalServiceProvider"
```

This is the contents of the published config file:

```
return [
    'client_id' => env('SMS_PORTAL_CLIENT_ID'),
    'secret' => env('SMS_PORTAL_SECRET'),
    'base_uri' => env('SMS_PORTAL_URL', 'https://rest.smsportal.com/v1/'),
    'delivery_enabled' => env('SMS_PORTAL_DELIVERY_ENABLED', true),
];
```

Formatting SMS Notifications
----------------------------

[](#formatting-sms-notifications)

If a notification supports being sent as an SMS, you should define a `toSmsPortal` method on the notification class. This method will receive a `$notifiable` entity and should return a `Illuminate\Notifications\Messages\SMSPortalMessage` instance:

```
/**
 * Get the SMSPortal / SMS representation of the notification.
 *
 * @param  mixed  $notifiable
    * @return SMSPortalMessage
    */
public function toSmsPortal($notifiable)
{
    return (new SMSPortalMessage)
                ->content('Your SMS message content');
}
```

Adding as Delivery Channel
--------------------------

[](#adding-as-delivery-channel)

Add the channel `smsportal` to the notification delivery channels.

```
/**
 * Get the notification's delivery channels.
 *
 * @param  mixed  $notifiable
 * @return array
 */
public function via($notifiable)
{
    return ['mail', 'smsportal'];
}
```

License
-------

[](#license)

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

Sponsor
-------

[](#sponsor)

₿ BTC Wallet: 18YGRct3jRxkRyxsHG5ByLCkUef7MdXNMw

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 68.8% 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 ~30 days

Total

21

Last Release

2016d ago

Major Versions

1.x-dev → 2.0.02020-07-29

2.0.0 → 3.0.02020-11-03

PHP version history (3 changes)1.0.5PHP ^7.1.3

1.0.17PHP &gt;=7.0

3.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/708a9d3fbe214c757b76c9be0785145425b946218c26b215b1d0af68d8cc4873?d=identicon)[neolikotsi](/maintainers/neolikotsi)

---

Top Contributors

[![neolikotsi](https://avatars.githubusercontent.com/u/7394627?v=4)](https://github.com/neolikotsi "neolikotsi (11 commits)")[![JohnRoux](https://avatars.githubusercontent.com/u/4610241?v=4)](https://github.com/JohnRoux "JohnRoux (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravel-5-packagelaravel-notification-channelslaravel-packagesms-notificationslaravelnotificationssms portal

### Embed Badge

![Health badge](/badges/neolikotsi-laravel-smsportal/health.svg)

```
[![Health](https://phpackages.com/badges/neolikotsi-laravel-smsportal/health.svg)](https://phpackages.com/packages/neolikotsi-laravel-smsportal)
```

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/discord

Laravel notification driver for Discord.

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

Rocket.Chat Notifications channel for Laravel 5.6+

1345.5k](/packages/laravel-notification-channels-rocket-chat)

PHPackages © 2026

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