PHPackages                             meysam-znd/hostiran-sms-provider - 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. meysam-znd/hostiran-sms-provider

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

meysam-znd/hostiran-sms-provider
================================

A hostiran sms provider

1.0.5(5y ago)551MITPHPPHP &gt;=7.2

Since Jul 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/meysamzandy/hostiranSmsProvider)[ Packagist](https://packagist.org/packages/meysam-znd/hostiran-sms-provider)[ RSS](/packages/meysam-znd-hostiran-sms-provider/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (6)Used By (0)

Hostiran Sms Provider
=====================

[](#hostiran-sms-provider)

[![GitHub Workflow Status](https://github.com/meysamzandy/hostiranSmsProvider/workflows/Run%20tests/badge.svg)](https://github.com/meysamzandy/hostiranSmsProvider/actions)[![styleci](https://camo.githubusercontent.com/29625c3ac6ad3ec9a8fbb6000329667c426fe0402f108eb1506726fd5444ddeb/68747470733a2f2f7374796c6563692e696f2f7265706f732f3238313336393530332f736869656c64)](https://styleci.io/repos/281369503)[![Code Intelligence Status](https://camo.githubusercontent.com/284ff8526890635f0b1dd8869f08db0d341aa03c6249d18abe7729f436b8ef17/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d657973616d7a616e64792f686f73746972616e536d7350726f76696465722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/591b5109d3223b785a42132f67d3eeb8d3075380a494c8c0c93ac2ef66713a76/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d657973616d7a616e64792f686f73746972616e536d7350726f76696465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/meysamzandy/hostiranSmsProvider/?branch=master)[![Build Status](https://camo.githubusercontent.com/bc2a5da29d0a4b404b6b1706720efb5d79b96904f7232f750b07b796e63e477f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d657973616d7a616e64792f686f73746972616e536d7350726f76696465722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/meysamzandy/hostiranSmsProvider/build-status/master)

[![Packagist](https://camo.githubusercontent.com/bf69702c93b1aeade37e740222a108aa43c7080c6e48678ec7bc194c1f7ad1c3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d657973616d2d7a6e642f686f73746972616e2d736d732d70726f76696465722e737667)](https://packagist.org/packages/meysam-znd/hostiran-sms-provider)[![Packagist](https://camo.githubusercontent.com/b472da4dcefb63202213fcf256c843ee14afb67c82616e9c37f07a599d9b3aed/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d657973616d2d7a6e642f686f73746972616e2d736d732d70726f76696465722e737667)](https://packagist.org/packages/meysam-znd/hostiran-sms-provider)[![Packagist](https://camo.githubusercontent.com/f3790ec6f96cddb905309bae235e840d48f03bce80a1d94bb0789ccac343f8ff/68747470733a2f2f706f7365722e707567782e6f72672f6d657973616d2d7a6e642f686f73746972616e2d736d732d70726f76696465722f642f746f74616c2e737667)](https://packagist.org/packages/meysam-znd/hostiran-sms-provider)[![Packagist](https://camo.githubusercontent.com/5287cfc78405704fa4507a78d4112d3a9b7521e1e038850face7e37fd25cc1de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d657973616d2d7a6e642f686f73746972616e2d736d732d70726f76696465722e737667)](https://packagist.org/packages/meysam-znd/hostiran-sms-provider)

Package description: HostIran SMS sender package for laravel

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

[](#installation)

Install via composer

```
composer require meysam-znd/hostiran-sms-provider
```

### Publish package assets

[](#publish-package-assets)

```
php artisan vendor:publish --provider="MeysamZnd\HostiranSmsProvider\ServiceProvider"
```

Usage
-----

[](#usage)

### Send sms to one number or few numbers

[](#send-sms-to-one-number-or-few-numbers)

##### for sending sms to few numbers, separate those numbers with ", " as a string.

[](#for-sending-sms-to-few-numbers-separate-those-numbers-with---as-a-string)

```
use MeysamZnd\HostiranSmsProvider\HostiranSmsProvider;
use MeysamZnd\HostiranSmsProvider\ToOne;

$url = 'https://rest.payamak-panel.com/api/SendSMS/SendSMS';
$data = [
    'username' => 'your username',
    'password' => 'your password',
    'from' => 'sender number',
    'to' => 'receiver numbers',
    'text' => 'your text message',
    'isflash' => false,
    ];

    $sender = new HostiranSmsProvider(new ToOne()) ;

    // send and get the result
    dd ( $sender->send($url, $data) );
```

### Send sms to one, or many numbers with schedule

[](#send-sms-to-one-or--many-numbers-with-schedule)

##### for sending sms to few numbers, separate those numbers with ", " as a string.

[](#for-sending-sms-to-few-numbers-separate-those-numbers-with---as-a-string-1)

```
use MeysamZnd\HostiranSmsProvider\HostiranSmsProvider;
use MeysamZnd\HostiranSmsProvider\ToMany;
use MeysamZnd\HostiranSmsProvider\ToOne;

$url = 'http://api.payamak-panel.com/post/schedule.asmx?wsdl';
$data = [
    'username' => 'your username',
    'password' => 'your password',
    'from' => 'sender number',
    'to' => 'receiver numbers',
    'text' => 'your text message',
    'isflash' => false,
    'scheduleDateTime' => 'your time',
    'period' => 'Once',
    ];

    $sender = new HostiranSmsProvider(new ToMany()) ;

    // send and get the result
    dd ( $sender->send($url, $data) );
```

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Meysam Zandy](https://github.com/meysamzandy/hostiranSmsProvider)
- [All contributors](https://github.com/meysamzandy/hostiranSmsProvider/graphs/contributors)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

5

Last Release

2120d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/38dc0f6695e56d7ea755b74e6c693fa3bd5417bde974ac9e6caa8bd1ec579165?d=identicon)[meysamznd](/maintainers/meysamznd)

---

Top Contributors

[![meysamzandy](https://avatars.githubusercontent.com/u/13656159?v=4)](https://github.com/meysamzandy "meysamzandy (34 commits)")

---

Tags

hostiraniranlaravelsendersmssmsproviderhostiran

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/meysam-znd-hostiran-sms-provider/health.svg)

```
[![Health](https://phpackages.com/badges/meysam-znd-hostiran-sms-provider/health.svg)](https://phpackages.com/packages/meysam-znd-hostiran-sms-provider)
```

###  Alternatives

[tzsk/sms

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

320244.3k6](/packages/tzsk-sms)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[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)[simplesoftwareio/simple-sms

Simple-SMS is a package made for Laravel to send/receive (polling/pushing) text messages. Currently supports CalLFire, EZTexting, Email Gateways, FlowRoute, LabsMobile, Mozeo, Nexmo, Plivo, Twilio, and Zenvia

20845.7k5](/packages/simplesoftwareio-simple-sms)[ghanem/laravel-smsmisr

Send SMS and SMS Notification via SMS Misr for Laravel

194.8k](/packages/ghanem-laravel-smsmisr)[hooman-mirghasemi/laravel-iran-sms

Laravel Sms

241.8k](/packages/hooman-mirghasemi-laravel-iran-sms)

PHPackages © 2026

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