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

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

jalallinux/smsirlaravel
=======================

Boosted Official Sms.ir Laravel Package

v2.1.4(4y ago)1141MITPHP

Since Dec 10Pushed 4y agoCompare

[ Source](https://github.com/jalallinux/SmsirLaravel)[ Packagist](https://packagist.org/packages/jalallinux/smsirlaravel)[ RSS](/packages/jalallinux-smsirlaravel/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (2)Versions (16)Used By (0)

[![](https://camo.githubusercontent.com/042a114beb7505c0a041cbccf0b8a4e345d07287817127b11426682ccba7fcfb/68747470733a2f2f736d732e69722f77702d636f6e74656e742f75706c6f6164732f323032302f30342f736d7369722d6c6f676f2e706e67)](https://sms.ir)

Unofficial 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

---

1. Install
----------

[](#1-install)

```
composer require jalallinux/smsirlaravel
```

---

2. Publish vendor
-----------------

[](#2-publish-vendor)

```
php artisan vendor:publish
```

then select `jalallinux\Smsirlaravel\SmsirlaravelServiceProvider`

---

- If using laravel 5.4 or below must register provider and alias in your `config/app.php`:

> Providers: jalallinux\\smsirlaravel\\SmsirlaravelServiceProvider::class,

> Aliases: 'Smsirlaravel' =&gt; jalallinux\\smsirlaravel\\SmsirlaravelFacade::class,

---

3. Migrate table
----------------

[](#3-migrate-table)

```
php artisan migrate
```

---

4. Configuration package
------------------------

[](#4-configuration-package)

After publish the package files you must open `config/smsirlaravel.php` set the keys.

```
'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'
```

or you can set your key in `.env` file:

> SMSIR\_WEBSERVICE\_URL=

> SMSIR\_API\_KEY=your api-key

> SMSIR\_SECRET\_KEY=your secret-key

> SMSIR\_LINE\_NUMBER=1000465\*\*\*\*\*\*

Available Methods:
------------------

[](#available-methods)

- Sending Message:

```
Smsirlaravel::send($messages, $numbers, $sendDateTime = null);

Smsirlaravel::sendVerification($code, $number, $log = false);

Smsirlaravel::ultraFastSend(array $parameters, $template_id, $number);
```

---

- Panel Details:

```
Smsirlaravel::credit();

Smsirlaravel::getLines();
```

---

- Customer Club:

```
Smsirlaravel::addToCustomerClub($prefix, $firstName, $lastName, $mobile, $birthDay = '', $categotyId = '')

Smsirlaravel::sendToCustomerClub($messages, $numbers, $sendDateTime = null, $canContinueInCaseOfError = true);
```

---

- Contact Management:

```
Smsirlaravel::deleteContact($mobile);

Smsirlaravel::addContactAndSend($prefix, $firstName, $lastName, $mobile, $message, $birthDay = '', $categotyId = '');
```

---

- Message Report:

```
Smsirlaravel::getReceivedMessages($perPage, $pageNumber, $formDate, $toDate);

Smsirlaravel::getSentMessages($perPage, $pageNumber, $formDate, $toDate);

Smsirlaravel::getSentMessage($bulk);
```

[JalalLinuX](https://jalallinux.ir)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

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

Recently: every ~0 days

Total

14

Last Release

1729d ago

Major Versions

v1.0.7 → v2.0.02021-08-18

### Community

Maintainers

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

---

Top Contributors

[![IPeCompany](https://avatars.githubusercontent.com/u/43531439?v=4)](https://github.com/IPeCompany "IPeCompany (50 commits)")[![jalallinux](https://avatars.githubusercontent.com/u/37062636?v=4)](https://github.com/jalallinux "jalallinux (17 commits)")

---

Tags

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

### Embed Badge

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

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

###  Alternatives

[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.

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)
