PHPackages                             mhgolestani77/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mhgolestani77/smsir

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mhgolestani77/smsir
===================

Official sms.ir New Panel laravel repository

v1.0.1(2y ago)09MITPHPPHP ^7.0|^8

Since Mar 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MHGolestani77/smsir)[ Packagist](https://packagist.org/packages/mhgolestani77/smsir)[ Docs](https://github.com/Mhgolestani77/smsir)[ RSS](/packages/mhgolestani77-smsir/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

sms.ir v2 laravel package
=========================

[](#smsir-v2-laravel-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/89e23411d17530234bc3c241d4b88fc8e0a2c8227de3a9abf580bcdd4dde375e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63727970746f6d6d65722f736d7369722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cryptommer/smsir)[![Quality Score](https://camo.githubusercontent.com/fa10b78cc03fd41e71e7d6e90de5adc1d6afe677ada8c46fe717c9057fbe803b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f63727970746f6d6d65722f536d7369722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/cryptommer/Sms-ir)[![Total Downloads](https://camo.githubusercontent.com/360839ff75ef5691dd23f498b92efecfe0ff5e1320623c16540cbb3e19c93532/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63727970746f6d6d65722f536d7369722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cryptommer/smsir)

This is a official [sms.ir](https://sms.ir) laravel package

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require mhgolestani77/smsir
```

publish provider (if you don't use laravel skip this)

```
php artisan vendor:publish --provider Mhgolestani77\Smsir\SmsirServiceProvider

```

Add this to env file (if you don't use laravel skip this)

```
SMSIR_API_KEY=
SMSIR_LINE_NUMBER=

```

Usage
-----

[](#usage)

add this line to the beginning of any class that you want to use smsir functions

### For Laravel

[](#for-laravel)

```
use Mhgolestani77\Smsir\Smsir;
```

### Pure PHP

[](#pure-php)

```
require __DIR__ . '/vendor/autoload.php';
use Mhgolestani77\Smsir\Classes\Smsir;

$smsir = new Smsir($line_number, $api_key)
```

### Sending Message

[](#sending-message)

Sending messages to mobile numbers

[Document](Send.md)

### Report Messages

[](#report-messages)

Get report of sent messages and received messages

[Document](Report.md)

### Setting

[](#setting)

Get account credit and line numbers

[Document](Setting.md)

### Responses

[](#responses)

Response Models

[Document](Response.md)

### View Routes (for laravel users)

[](#view-routes-for-laravel-users)

Sending sms

```
http://localhost:8000/smsir/send/bulk

```

Get Report of today sent sms

```
http://localhost:8000/smsir/report/sent/today

```

Get Report of today received sms

```
http://localhost:8000/smsir/report/sent/today

```

### Translations

[](#translations)

#### Delivery Status

[](#delivery-status)

```
__(`smsir.DeliveryStatus.$delivery_status`);
```

#### Request Status

[](#request-status)

```
__(`smsir.SendStatus.$status`);
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- به سفارش شرکت ایده پردازان
- [Pouya Biglari](https://github.com/cryptommer)

License
-------

[](#license)

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

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b23abf430b0a370ab264ad243b3d836582a07c35a5ea47883f7756080f798c8?d=identicon)[MHGolestani77](/maintainers/MHGolestani77)

---

Top Contributors

[![MHGolestani77](https://avatars.githubusercontent.com/u/44163656?v=4)](https://github.com/MHGolestani77 "MHGolestani77 (2 commits)")

---

Tags

smsirMhgolestani77

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)

PHPackages © 2026

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