PHPackages                             damoongasht/smsir - 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. damoongasht/smsir

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

damoongasht/smsir
=================

Official Sms.ir Laravel Package

0.2(1y ago)0137MITPHPPHP ^8.0

Since May 8Pushed 9mo agoCompare

[ Source](https://github.com/damoon4042/smsir)[ Packagist](https://packagist.org/packages/damoongasht/smsir)[ RSS](/packages/damoongasht-smsir/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (3)Used By (0)

[![](https://camo.githubusercontent.com/78ba56ee5a546974bad78014c29579814d65cb2104984e76dbf2d0561acb1e00/68747470733a2f2f736d732e69722f77702d636f6e74656e742f75706c6f6164732f312d77686974652d6261636b67726f756e642d6d61696e2d6c6f676f2d322e737667)](https://camo.githubusercontent.com/78ba56ee5a546974bad78014c29579814d65cb2104984e76dbf2d0561acb1e00/68747470733a2f2f736d732e69722f77702d636f6e74656e742f75706c6f6164732f312d77686974652d6261636b67726f756e642d6d61696e2d6c6f676f2d322e737667)

Official Laravel Package for sms.ir

[![Latest Stable Version](https://camo.githubusercontent.com/b8f269dd6d77b710e7bde417ea99ca79fd5d10b50e27227c86760c1944bfa0f7/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f762f737461626c65)](https://packagist.org/packages/ipecompany/smsirlaravel)[![Total Downloads](https://camo.githubusercontent.com/be43881e33352e8dd77dd3ac0bd291c4c1a1004d7867289ec0361e64f7f80316/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/ipecompany/smsirlaravel)[![Monthly Downloads](https://camo.githubusercontent.com/022932681ef2f04c6307c116acf435ea0ac9b3beb313d3322c6654c11b3a3845/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f642f6d6f6e74686c79)](https://packagist.org/packages/ipecompany/smsirlaravel)[![License](https://camo.githubusercontent.com/dd55c3ad366f12caa2d390a2c438c9661d6e4785cdf9f8b11fae2886bf975302/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f6c6963656e7365)](https://packagist.org/packages/ipecompany/smsirlaravel)

Hi, if you have an account in sms.ir, you can use this package for laravel

---

How to install:
---------------

[](#how-to-install)

```
composer require Damoongasht/smsir
php artisan vendor:publish
php artisan migrate

```

> **Setup:**

add this line to your app.php providers: Damoongasht\\smsirlaravel\\SmsirlaravelServiceProvider::class,

and add this line to your app.php aliases: 'Smsirlaravel' =&gt; Damoongasht\\smsirlaravel\\SmsirlaravelFacade::class,

> After publish the package files you must open smsirlaravel.php in config folder and set the api-key, secret-key and your sms line number.

> **Like this:**

```
'webservice-url' => env('SMSIR-WEBSERVICE-URL','https://ws.sms.ir/'),
'api-key' => env('SMSIR-API-KEY','Your sms.ir api key'),
'secret-key' => env('SMSIR-SECRET-KEY','Your sms.ir secret key'),
'line-number' => env('SMSIR-LINE-NUMBER','Your sms.ir line number'

```

> Note:

you can set the keys and line number in your .env file

> **like this:**

> SMSIR-WEBSERVICE-URL=

> SMSIR-API-KEY=your api-key

> SMSIR-SECRET-KEY=your secret-key

> SMSIR-LINE-NUMBER=1000465\*\*\*\*\*\*

Methods:
--------

[](#methods)

> Smsirlaravel::send()

> Smsirlaravel::credit()

> Smsirlaravel::getLines()

> Smsirlaravel::addToCustomerClub()

> Smsirlaravel::deleteContact();

> Smsirlaravel::sendToCustomerClub();

> Smsirlaravel::addContactAndSend();

> Smsirlaravel::sendVerification();

> Smsirlaravel::ultraFastSend();

> Smsirlaravel::getSentMessages();

> Smsirlaravel::getReceivedMessages();

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance54

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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

367d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a1d401a6fe2f0c2effde1491d802bc9a97f2dd57b7341c7bb18c014a76a2a85?d=identicon)[dehnavi](/maintainers/dehnavi)

---

Top Contributors

[![dehnavi](https://avatars.githubusercontent.com/u/1687774?v=4)](https://github.com/dehnavi "dehnavi (3 commits)")[![miladsn](https://avatars.githubusercontent.com/u/33270104?v=4)](https://github.com/miladsn "miladsn (1 commits)")

---

Tags

laravelsmsپیامکsendsmssmsirاس ام اسnotifacation

### Embed Badge

![Health badge](/badges/damoongasht-smsir/health.svg)

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

###  Alternatives

[ipecompany/smsirlaravel

Official Sms.ir Laravel Package

1810.2k1](/packages/ipecompany-smsirlaravel)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[amirbagh75/smsir-php

Unofficial sms.ir PHP Package

181.2k](/packages/amirbagh75-smsir-php)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)

PHPackages © 2026

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