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

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

smjmtsmg/smsir
==============

Official Sms.ir Laravel Package

v2.4.0(7y ago)04MITPHP

Since Jul 17Pushed 4y agoCompare

[ Source](https://github.com/smjmtsmg/smsir)[ Packagist](https://packagist.org/packages/smjmtsmg/smsir)[ RSS](/packages/smjmtsmg-smsir/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (3)Versions (14)Used By (0)

[![](https://camo.githubusercontent.com/cfd6ac7be179ceddd1e3f65d6603985fddd0af9639cff1a009fcb056265c04de/68747470733a2f2f7777772e736d732e69722f77702d636f6e74656e742f7468656d65732f736d732e69722f6173736574732f696d672f66696e616c2d736d732d6c6f676f2e706e67)](https://camo.githubusercontent.com/cfd6ac7be179ceddd1e3f65d6603985fddd0af9639cff1a009fcb056265c04de/68747470733a2f2f7777772e736d732e69722f77702d636f6e74656e742f7468656d65732f736d732e69722f6173736574732f696d672f66696e616c2d736d732d6c6f676f2e706e67)

Official Laravel Package for sms.ir

[![Latest Stable Version](https://camo.githubusercontent.com/8b8c0000a751affd38f3332fd89f50ab3f90dde7b1592122476c8224d92b84d0/68747470733a2f2f706f7365722e707567782e6f72672f7068706c757369722f736d7369722f762f737461626c65)](https://packagist.org/packages/phplusir/smsir)[![Total Downloads](https://camo.githubusercontent.com/10358c2e09805a881e437ca134ba2ede7950c703c2b6a0152b97f3c61b26bc29/68747470733a2f2f706f7365722e707567782e6f72672f7068706c757369722f736d7369722f646f776e6c6f616473)](https://packagist.org/packages/phplusir/smsir)[![Monthly Downloads](https://camo.githubusercontent.com/93e63a47cc9b868b79772a4a9491d228dd4cca41842ea884419b5f238e2dc9c0/68747470733a2f2f706f7365722e707567782e6f72672f7068706c757369722f736d7369722f642f6d6f6e74686c79)](https://packagist.org/packages/phplusir/smsir)[![License](https://camo.githubusercontent.com/d71a9ff7edf14681166857a6741e16f54898acf428153e59a9c7b07d822b9d28/68747470733a2f2f706f7365722e707567782e6f72672f7068706c757369722f736d7369722f6c6963656e7365)](https://packagist.org/packages/phplusir/smsir)[![FOSSA Status](https://camo.githubusercontent.com/453e2fa8f84a275a3d62f16e162bb32bdfa63c2dbb6ad31d483ecffd851a7710/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246547275654d6f65696e253246736d7369722e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2FTrueMoein%2Fsmsir?ref=badge_shield)

[آموزش فارسی نصب و استفاده از پیکیج ارسال پیامک لاراول](https://www.sms.ir/%D8%AE%D8%AF%D9%85%D8%A7%D8%AA/%D9%88%D8%A8-%D8%B3%D8%B1%D9%88%DB%8C%D8%B3/%D8%A7%D8%B1%D8%B3%D8%A7%D9%84-%D9%BE%DB%8C%D8%A7%D9%85%DA%A9-laravel/)

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

---

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

[](#how-to-install)

```
composer require phplusir/smsir
php artisan vendor:publish

```

> **Setup:**

add this line to your app.php providers: phplusir\\smsir\\SmsirServiceProvider::class,

and add this line to your app.php aliases: 'Smsir' =&gt; phplusir\\smsir\\SmsirFacade::class,

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

> **Like this:**

```
'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-API-KEY=your api-key

> SMSIR-SECRET-KEY=your secret-key

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

Methods:
--------

[](#methods)

> Coming Soon

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/f831f15b5de31b51d589298b550d752674b78607302aa73c31fedd122e98d49c/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246547275654d6f65696e253246736d7369722e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2FTrueMoein%2Fsmsir?ref=badge_large)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 84.3% 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 ~28 days

Recently: every ~60 days

Total

13

Last Release

2877d ago

Major Versions

1.6.2 → 2.0.02017-10-24

### Community

Maintainers

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

---

Top Contributors

[![TrueMoein](https://avatars.githubusercontent.com/u/7044050?v=4)](https://github.com/TrueMoein "TrueMoein (59 commits)")[![mohammad-y](https://avatars.githubusercontent.com/u/30681568?v=4)](https://github.com/mohammad-y "mohammad-y (5 commits)")[![sajadghiasvand](https://avatars.githubusercontent.com/u/24204377?v=4)](https://github.com/sajadghiasvand "sajadghiasvand (3 commits)")[![akiyamaSM](https://avatars.githubusercontent.com/u/12276076?v=4)](https://github.com/akiyamaSM "akiyamaSM (1 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")[![SaeedDev94](https://avatars.githubusercontent.com/u/8407855?v=4)](https://github.com/SaeedDev94 "SaeedDev94 (1 commits)")

---

Tags

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

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/smjmtsmg-smsir/health.svg)](https://phpackages.com/packages/smjmtsmg-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)
