PHPackages                             amirhoseinl96/smsirnewdep - 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. amirhoseinl96/smsirnewdep

ActiveLibrary

amirhoseinl96/smsirnewdep
=========================

amirhoseinl96/smsirnewdep

12PHP

Since Jan 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/amirhoseinl96/smsirnewdep)[ Packagist](https://packagist.org/packages/amirhoseinl96/smsirnewdep)[ RSS](/packages/amirhoseinl96-smsirnewdep/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)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/b8f269dd6d77b710e7bde417ea99ca79fd5d10b50e27227c86760c1944bfa0f7/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f762f737461626c65)](https://packagist.org/packages/amirhoseinl96/smsirnewdep)[![Total Downloads](https://camo.githubusercontent.com/be43881e33352e8dd77dd3ac0bd291c4c1a1004d7867289ec0361e64f7f80316/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f646f776e6c6f616473)](https://packagist.org/packages/amirhoseinl96/smsirnewdep)[![Monthly Downloads](https://camo.githubusercontent.com/022932681ef2f04c6307c116acf435ea0ac9b3beb313d3322c6654c11b3a3845/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f642f6d6f6e74686c79)](https://packagist.org/packages/amirhoseinl96/smsirnewdep)[![License](https://camo.githubusercontent.com/dd55c3ad366f12caa2d390a2c438c9661d6e4785cdf9f8b11fae2886bf975302/68747470733a2f2f706f7365722e707567782e6f72672f697065636f6d70616e792f736d7369726c61726176656c2f6c6963656e7365)](https://packagist.org/packages/amirhoseinl96/smsirnewdep)

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

```

> **Setup:**

add this line to your app.php providers: ipecompany\\smsirlaravel\\SmsirlaravelServiceProvider::class,

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

14

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/748169806dff633a5e0ac5ade71d2a78cf96442785c41658512ba0dba0b8de2e?d=identicon)[amirhoseinl96](/maintainers/amirhoseinl96)

---

Top Contributors

[![amirhoseinl96](https://avatars.githubusercontent.com/u/96777318?v=4)](https://github.com/amirhoseinl96 "amirhoseinl96 (13 commits)")

### Embed Badge

![Health badge](/badges/amirhoseinl96-smsirnewdep/health.svg)

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

PHPackages © 2026

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