PHPackages                             hamid80386/sms-sender - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hamid80386/sms-sender

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hamid80386/sms-sender
=====================

A simple Laravel Package to send sms based on Strategy and Facade design patterns.

1.01(1y ago)110[2 PRs](https://github.com/hamid80386/sms-sender/pulls)MITPHPPHP ^8.1

Since Dec 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hamid80386/sms-sender)[ Packagist](https://packagist.org/packages/hamid80386/sms-sender)[ Docs](https://github.com/hamid80386/sms-sender)[ RSS](/packages/hamid80386-sms-sender/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (6)Used By (0)

A simple Laravel Package to send sms based on Strategy and Facade design patterns.
==================================================================================

[](#a-simple-laravel-package-to-send-sms-based-on-strategy-and-facade-design-patterns)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c1a034be688bd8ff16cb39dfbd5aa845d9491438855a52213e090251fdb993a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68616d696438303338362f736d732d73656e6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hamid80386/sms-sender)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b6e2e4c6c4c749017b2946559672795ced55c3f655136a3e9546be60a5d0feed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68616d696438303338362f736d732d73656e6465722f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/hamid80386/sms-sender/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ce7be0f90cb983e9442ec4d9ef1e845cd54b078d56e8b38722225de785c578e1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68616d696438303338362f736d732d73656e6465722f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/hamid80386/sms-sender/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/cc3d3e04864519b1732c0d37d2fb916a9400cdd7a2f015fc01f03cb0d5808456/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68616d696438303338362f736d732d73656e6465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hamid80386/sms-sender)

First, follow install instructions. It's simple!

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

[](#installation)

1: In your composer.json file add followings:

```
"repositories": [
        {
            "url": "https://github.com/hamid80386/pkg2",
            "type": "git"
        }
    ],
```

and

```
"require": {
  ...
  "hamid80386/sms-sender": "^1.0",
  ...
}
```

Then you can install the package via composer:

```
composer require hamid80386/sms-sender
```

2: publish the service provider file with:

```
php artisan vendor:publish --tag="sms-sender-provider"
```

3: Run install command:

```
php artisan sms-sender:install
```

This is the contents of the published config file:

```
return [
    'active' => \hamid80386\SmsSender\Services\SMS\ISMS::class,

    'isms' => [
        'username' => env('ISMS_USERNAME', 'XXX'),
        'password' => env('ISMS_PASSWORD', 'XXX'),
        'url' => env('ISMS_URL', 'XXX'),
    ],
];
```

You should change them based on you strategy class for sending sms.

- Default class for sending sms is indicated with "active" property.

Usage
-----

[](#usage)

```
smssend::send(['mobile'=>'NUMBER','body'=>'hello world']);
// OR
$sms = new SmsContext();
$sms->sendSMS([
    'mobiles' => 'mobile number',
    'body' => 'body',
]);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Hamid Abbasi](https://github.com/hamid80386)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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 ~202 days

Total

2

Last Release

673d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58df3e5132a5aa5edb8fce1f9f1a4008cd782bf6276ec81eae3017026ad1f6cc?d=identicon)[hamid\_80386](/maintainers/hamid_80386)

---

Top Contributors

[![hamid80386](https://avatars.githubusercontent.com/u/1708829?v=4)](https://github.com/hamid80386 "hamid80386 (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravelsms senderHamid Abbasi

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/hamid80386-sms-sender/health.svg)

```
[![Health](https://phpackages.com/badges/hamid80386-sms-sender/health.svg)](https://phpackages.com/packages/hamid80386-sms-sender)
```

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M626](/packages/spatie-laravel-data)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[hirethunk/verbs

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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