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 3w 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 26% 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

1988d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/68631495?v=4)[nerdbrygg](/maintainers/nerdbrygg)[@Nerdbrygg](https://github.com/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

[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[php-flasher/flasher-laravel

Seamlessly integrate flash notifications into your Laravel applications with PHPFlasher. Enhance user feedback and engagement with minimal setup.

453.0M45](/packages/php-flasher-flasher-laravel)

PHPackages © 2026

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