PHPackages                             junityco/laravel-nowsms - 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. junityco/laravel-nowsms

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

junityco/laravel-nowsms
=======================

NowSMS service provider for Laravel

1.1(8y ago)0952MITPHPPHP &gt;=5.6.4

Since Mar 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/junityco/laravel-nowsms)[ Packagist](https://packagist.org/packages/junityco/laravel-nowsms)[ Docs](https://github.com/junityco/laravel-nowsms)[ RSS](/packages/junityco-laravel-nowsms/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

NowSMS for Laravel
==================

[](#nowsms-for-laravel)

This package makes it easy to send NowSMS notifications with Laravel.

[![Total Downloads](https://camo.githubusercontent.com/f4c0353ba593e52414a2435414f4cb8ea2d6a772ea3f54100e49eb14b1830ea0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6a756e697479636f2f6c61726176656c2d6e6f77736d732e7376673f7374796c653d666c6174)](https://packagist.org/packages/junityco/laravel-nowsms)[![Latest Version](https://camo.githubusercontent.com/cee59be598f71fa547b2580b2f1fd8b0fb35f3dc6ca0cd08e5935bfc12095ef7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a756e697479636f2f6c61726176656c2d6e6f77736d732e7376673f7374796c653d666c6174)](https://github.com/junityco/laravel-nowsms/releases)[![License](https://camo.githubusercontent.com/4946d1f270d6edfaf6d377ddb1accfbed6a0a136d60316eff467e49c67fc5845/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a756e697479636f2f6c61726176656c2d6e6f77736d732e7376673f7374796c653d666c6174)](https://packagist.org/packages/junityco/laravel-nowsms)

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

[](#installation)

Require this package, with [Composer](https://getcomposer.org/), in the root directory of your project.

```
$ composer require junityco/laravel-nowsms
```

Add the service provider to `config/app.php` in the `providers` array.

```
Junity\NowSms\NowSmsServiceProvider::class
```

If you want you can use the [facade](http://laravel.com/docs/facades). Add the reference in `config/app.php` to your aliases array.

```
'NowSms' => Junity\NowSms\Facades\NowSms::class
```

You will also need to install `guzzlehttp/guzzle` http client to send requests.

### Setting up your NowSMS account

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

Add your NowSMS url, username, password `config/services.php`:

```
// config/services.php
...
'nowsms' => [
    'url' => 'http://127.0.0.1:8800',
    'username' => '',
    'password' => '',
],
...
```

Usage
-----

[](#usage)

Now you can use the channel in your `via()` method inside the notification:

```
use Junity\NowSms\Messages\SmsMessage;
use Junity\NowSms\Channels\NowSmsChannel;
use Illuminate\Notifications\Notification;

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

    public function toNowSms($notifiable)
    {
        return (new SmsMessage)
            ->from("SenderID")
            ->content("Your account was approved!");
    }
}
```

In order to let your Notification know which phone are you sending/calling to, the channel will look for the `phone_number` attribute of the Notifiable model. If you want to override this behaviour, add the `routeNotificationForNowsms` method to your Notifiable model.

```
public function routeNotificationForNowsms()
{
    return '+1234567890';
}
```

Example using via code
----------------------

[](#example-using-via-code)

```
use Junity\NowSms\Facades\NowSms;

NowSms::send([
    'Text' => 'Some text',
    'Sender' => 'MyApp',
], '+1234567890');
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~330 days

Total

2

Last Release

3068d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3335268?v=4)[Junity](/maintainers/Junity)[@junity](https://github.com/junity)

---

Top Contributors

[![vgladimir](https://avatars.githubusercontent.com/u/19341468?v=4)](https://github.com/vgladimir "vgladimir (4 commits)")[![nkadondo](https://avatars.githubusercontent.com/u/36229874?v=4)](https://github.com/nkadondo "nkadondo (1 commits)")

---

Tags

laravelnotificationsnowsmssmslaravelnotificationssmsnowsms

### Embed Badge

![Health badge](/badges/junityco-laravel-nowsms/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M19.8k](/packages/laravel-framework)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k95.4M294](/packages/laravel-horizon)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M159](/packages/spatie-laravel-health)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M964](/packages/statamic-cms)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[salamwaddah/laravel-mandrill-driver

Mandrill notification channel for Laravel 9, 10, 11, 12, 13

1177.4k](/packages/salamwaddah-laravel-mandrill-driver)

PHPackages © 2026

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