PHPackages                             tabrizadmin/smsirlaravel - 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. tabrizadmin/smsirlaravel

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

tabrizadmin/smsirlaravel
========================

Official Sms.ir Laravel Package

v1.1.7(5y ago)149MITPHP

Since Dec 10Pushed 5y agoCompare

[ Source](https://github.com/TabrizAdmin/SmsirLaravel)[ Packagist](https://packagist.org/packages/tabrizadmin/smsirlaravel)[ RSS](/packages/tabrizadmin-smsirlaravel/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (20)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/1c17e02e55c0c4914730e7f956454f846ec194046400762a4b013b164a609b70/68747470733a2f2f706f7365722e707567782e6f72672f74616272697a61646d696e2f736d7369726c61726176656c2f762f737461626c65)](https://packagist.org/packages/tabrizadmin/smsirlaravel)[![Total Downloads](https://camo.githubusercontent.com/2bd54563cf131a2be8a2d388ce8b0c966f4c06c457888449fd2d47bd596efbd2/68747470733a2f2f706f7365722e707567782e6f72672f74616272697a61646d696e2f736d7369726c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/tabrizadmin/smsirlaravel)[![Monthly Downloads](https://camo.githubusercontent.com/2c4621208421412e1d055df3c67ff1c9dd700c0e5cb74c50a3c8e47d61e56717/68747470733a2f2f706f7365722e707567782e6f72672f74616272697a61646d696e2f736d7369726c61726176656c2f642f6d6f6e74686c79)](https://packagist.org/packages/tabrizadmin/smsirlaravel)[![License](https://camo.githubusercontent.com/3f94af2653d1ae1586661e777625343b3933f043d1afd5d1f2f3570253385bfb/68747470733a2f2f706f7365722e707567782e6f72672f74616272697a61646d696e2f736d7369726c61726176656c2f6c6963656e7365)](https://packagist.org/packages/tabrizadmin/smsirlaravel)

[آموزش فارسی نصب و استفاده از پکیج ارسال پیامک لاراول](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 tabrizadmin/smsirlaravel
php artisan vendor:publish
php artisan migrate

```

> **Setup:**

If you are under laravel 6 add this line to your app.php providers: tabrizadmin\\smsirlaravel\\SmsirlaravelServiceProvider::class,

and add this line to your app.php aliases: 'Smsirlaravel' =&gt; tabrizadmin\\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

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 83.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 ~45 days

Recently: every ~0 days

Total

18

Last Release

1998d ago

### Community

Maintainers

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

---

Top Contributors

[![IPeCompany](https://avatars.githubusercontent.com/u/43531439?v=4)](https://github.com/IPeCompany "IPeCompany (50 commits)")[![TabrizAdmin](https://avatars.githubusercontent.com/u/1138708?v=4)](https://github.com/TabrizAdmin "TabrizAdmin (9 commits)")[![hamedlaravel](https://avatars.githubusercontent.com/u/44804846?v=4)](https://github.com/hamedlaravel "hamedlaravel (1 commits)")

---

Tags

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

### Embed Badge

![Health badge](/badges/tabrizadmin-smsirlaravel/health.svg)

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

###  Alternatives

[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M218](/packages/laravel-octane)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ipecompany/smsirlaravel

Official Sms.ir Laravel Package

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

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

319270.8k6](/packages/tzsk-sms)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5018.2k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[amirbagh75/smsir-php

Unofficial sms.ir PHP Package

171.2k](/packages/amirbagh75-smsir-php)

PHPackages © 2026

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