PHPackages                             sajjad-rakhshani/ir-sms-gates - 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. sajjad-rakhshani/ir-sms-gates

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

sajjad-rakhshani/ir-sms-gates
=============================

send sms in php with iranian sms gateways

1.0.4(1y ago)2611MITPHPPHP &gt;=8.0

Since May 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sajjad-rakhshani/IrSmsGates)[ Packagist](https://packagist.org/packages/sajjad-rakhshani/ir-sms-gates)[ RSS](/packages/sajjad-rakhshani-ir-sms-gates/feed)WikiDiscussions master Synced 1mo ago

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

IrSmsGates
==========

[](#irsmsgates)

send sms with iranian sms gateways

installation
------------

[](#installation)

use the composer to install IrSmsGates.

```
composer require sajjad-rakhshani/ir-sms-gates
```

usage
-----

[](#usage)

### log to file

[](#log-to-file)

```
//log to IrSms.log in your document root
$log = new IrSmsGates\GateWays\Log();
$log->send(); //bool

//log to your specific log file
$log = new IrSmsGates\Gateways\Log('your_file');
$log->send(); //bool
```

### MeliPayamak

[](#melipayamak)

```
$melipayamak = new IrSmsGates\Gateways\MeliPayamak($username, $passowrd);

//simple send
$melipayamak
    ->from($from) // send from
    ->to($to) // a number or array of numbers
    ->text($text)
    ->send(); //bool

//send with pattern
$melipayamak
    ->to($to) // only one number
    ->text($pattern_vars) // an array of your pattern variables (only values). ['var1', 'var2', ...]
    ->pattern($pattern) //your pattern code in melipayamak
    ->send(); //bool
```

### Ippanel

[](#ippanel)

```
$ipPanel = new \IrSmsGates\Gateways\IpPanel($api_key);
//simple send
$ipPanel
    ->from($from) //send from
    ->to($to) // a number or array of numbers
    ->text($text)
    ->send(); //bool
//send with pattern
$ipPanel
    ->from($from) //send from
    ->to($to) //only on number
    ->pattern($pattern) //pattern code
    ->text($pattern_vars) //an array of your pattern variables. ['var1' => 'value1', 'var2' => 'value2', ...]
```

all error log to IrSms.log in your document root

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~135 days

Total

2

Last Release

587d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0d4ad4c50c57e43aa038892765edf5b684b464493fdd3e33a8a1186c402ef5f?d=identicon)[sajjad-rakhshani](/maintainers/sajjad-rakhshani)

---

Top Contributors

[![sajjad-rakhshani](https://avatars.githubusercontent.com/u/44025028?v=4)](https://github.com/sajjad-rakhshani "sajjad-rakhshani (3 commits)")

---

Tags

phpotpsms

### Embed Badge

![Health badge](/badges/sajjad-rakhshani-ir-sms-gates/health.svg)

```
[![Health](https://phpackages.com/badges/sajjad-rakhshani-ir-sms-gates/health.svg)](https://phpackages.com/packages/sajjad-rakhshani-ir-sms-gates)
```

###  Alternatives

[ferdous/laravel-otp-validate

Laravel package for OTP validation with built-in features like retry and resend mechanism. Built in max retry and max resend blocking. OTP/Security Code can be send over SMS or Email of your choice with user-defined template.

7124.4k](/packages/ferdous-laravel-otp-validate)[djunehor/laravel-sms

Send SMS from your laravel application

385.3k1](/packages/djunehor-laravel-sms)[siam-yon/sms

php实现的极简短信发送功能，基于阿里云、腾讯云最新短信发送api

142.1k](/packages/siam-yon-sms)

PHPackages © 2026

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