PHPackages                             parhaaam/sendsms - 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. parhaaam/sendsms

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

parhaaam/sendsms
================

The easiest way to send Sms inside your Laravel App

v1.0.0(3y ago)313[2 PRs](https://github.com/parhaaam/SendSms/pulls)MITPHPPHP ^8.1

Since Apr 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/parhaaam/SendSms)[ Packagist](https://packagist.org/packages/parhaaam/sendsms)[ Docs](https://github.com/parhaaam/sendsms)[ RSS](/packages/parhaaam-sendsms/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (14)Versions (5)Used By (0)

The easiest way to send Sms inside your Laravel App
===================================================

[](#the-easiest-way-to-send-sms-inside-your-laravel-app)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5f49dc9640db68e3640311c10b74fe38aa76b1f805fd65deea95bccc23a146e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706172686161616d2f73656e64736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parhaaam/sendsms)[![GitHub Tests Action Status](https://camo.githubusercontent.com/81e7e4746f89e47491c2fa09dde71beee6cdef0a677bc3142b214e4dc36602fa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706172686161616d2f73656e64736d732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/parhaaam/sendsms/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/317996bcc8c933506b91af268639958c58886216b6f93801e26e59b84868c61e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706172686161616d2f73656e64736d732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/parhaaam/sendsms/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/5d136bfb5213387aa5bb12b67e4093a21cc41622ab3a36d21f1d296f76eb544a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706172686161616d2f73656e64736d732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/parhaaam/sendsms)

Easily send sms in laravel with any sms service provider.

Supported Providers
-------------------

[](#supported-providers)

ProviderKavenegarSMS.IRInstallation
------------

[](#installation)

1. install the package via composer:

```
composer require parhaaam/sendsms
```

2. publish the config file with:

```
php artisan vendor:publish --tag="sendsms-config"
```

This is the contents of the published config file:

```
return [

    'default' => 'kavenegar',
    'drivers' => [
        'kavenegar' => [
            'key'  => env('kavenegar_key', ''),
        ],
        'smsir' => [
            'key'    => env('smsir_key', ''),
            'secret' => env('smsir_key', ''),
        ]
    ]
];
```

Usage
-----

[](#usage)

```
// Send Lookup sms
$sendSms = new Parhaaam\SendSms();
$sendSms->sendLookup($receptor = "__phone_number__", $template = "loginVerify", $tokens = ["Test"]);
// will send sms using default sms provider which has been set in config/sendsms.php

// Send Lookup sms with sms.ir
$sendSms = new SendSms();
$sendSms
    ->via('smsir')
    ->sendLookup($receptor = "__phone_number__", $template = "19737", ["token_one_name" => "token_value", "token_two_name" => "token_two_value"]);
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Parham Parnian](https://github.com/parhaaam)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

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

Unknown

Total

1

Last Release

1188d ago

### Community

Maintainers

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

---

Top Contributors

[![parhaaam](https://avatars.githubusercontent.com/u/32180079?v=4)](https://github.com/parhaaam "parhaaam (28 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

kavenegarsmsirlaravelsendsmsparhaaam

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/parhaaam-sendsms/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24857.5k](/packages/vormkracht10-laravel-mails)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.8k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)

PHPackages © 2026

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