PHPackages                             nerdbrygg/simplesms - 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. nerdbrygg/simplesms

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

nerdbrygg/simplesms
===================

Integrates PSWinCom's Simple SMS API with Laravel.

0.3.0(5y ago)019MITPHP

Since Jul 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Nerdbrygg/SimpleSMS)[ Packagist](https://packagist.org/packages/nerdbrygg/simplesms)[ Docs](https://github.com/nerdbrygg/simplesms)[ RSS](/packages/nerdbrygg-simplesms/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (6)Versions (9)Used By (0)

SimpleSMS
=========

[](#simplesms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5d97c9ebba953708f2a1ffdd6dcfa814f7e37458f901bfaffb26a20d4cffd454/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65726462727967672f73696d706c65736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdbrygg/simplesms)[![Total Downloads](https://camo.githubusercontent.com/b3cf7ae27b9cca6cbee1ab5dd1d453ba904f45242bde258d5368d89642c6544a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e65726462727967672f73696d706c65736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nerdbrygg/simplesms)[![Tests](https://github.com/Nerdbrygg/SimpleSMS/workflows/Tests/badge.svg)](https://github.com/Nerdbrygg/SimpleSMS/workflows/Tests/badge.svg)[![StyleCI](https://camo.githubusercontent.com/44a42cb1aac8a3d17c135d513e101e14a0646ce81d1d802e53985ef55d07ea6c/68747470733a2f2f7374796c6563692e696f2f7265706f732f3238313633343131392f736869656c64)](https://styleci.io/repos/281634119)

My first Laravel Package, uses Laravel's Http client to interact with [PSWin.com's](https://wiki.pswin.com/Gateway%20HTTP%20API.ashx) Simple HTTP API.

It offers the option to store messages in a database table, and also ability to encrypt/decrypt the message, for added security.

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

[](#installation)

Via Composer

```
$ composer require nerdbrygg/simplesms
```

Configure these settings in your .env

```
SIMPLESMS_SOURCE=
SIMPLESMS_USERNAME=
SIMPLESMS_PASSWORD=

```

Usage
-----

[](#usage)

By default the only middleware applied to the route is web. To secure this, you'd need to overwrite the route:

```
Route::middleware(['auth'])->group(function () {
    Route::post('sms/send', ['\Nerdbrygg\SimpleSMS\Controllers\SmsController', 'store'])->name('sms.store');
});
```

```
SimpleSMS::create(['message' => 'Hello World!', 'destination' => 'numbers [delimiters: ,;|.]', 'source' => 'Optional'])->send();
```

### Parameters

[](#parameters)

ParameterRequiredDefaultInformationmessageYesNone804 characters maxdestinationYesNoneSeparated by ,;sourceNoSIMPLESMS\_SOURCENumber or text### Components

[](#components)

I've created a couple of simple bootstrap-themed components to get you up and running faster.

**Form**

```

```

Will render a basic form for sending an sms.

Use `:source="false"` to stop source-field from rendering.

**Messages**

```

```

Will render a basic display of all sent messages.

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

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

License
-------

[](#license)

license. Please see the [license file](license.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~36 days

Recently: every ~44 days

Total

6

Last Release

1942d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aebe84aedfc93585c5b5ee135464f173ed4142c4337e7789fe1eccc5ad90660d?d=identicon)[nerdbrygg](/maintainers/nerdbrygg)

---

Top Contributors

[![jornl](https://avatars.githubusercontent.com/u/4814531?v=4)](https://github.com/jornl "jornl (24 commits)")

---

Tags

laravelpswincomsmslaravelSimpleSMS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nerdbrygg-simplesms/health.svg)

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

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[mckenziearts/laravel-notify

Flexible flash notifications for Laravel

1.7k1.1M5](/packages/mckenziearts-laravel-notify)[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[s-ichikawa/laravel-sendgrid-driver

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

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[propaganistas/laravel-disposable-email

Disposable email validator

5762.6M6](/packages/propaganistas-laravel-disposable-email)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)

PHPackages © 2026

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