PHPackages                             negartarh/persiansms - 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. negartarh/persiansms

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

negartarh/persiansms
====================

Persian SMS PHP SDK

16PHP

Since Jan 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/negartarh/persiansms)[ Packagist](https://packagist.org/packages/negartarh/persiansms)[ RSS](/packages/negartarh-persiansms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Persian SMS PHP SDK
===================

[](#persian-sms-php-sdk)

Persian SMS PHP SDK

Install:

```
composer require negartarh/persiansms:dev-master
```

Usage:

```
use Negartarh\Persiansms\PersianSms;

require_once __DIR__ . '/../vendor/autoload.php';

$config = (array) [
    'Username'    => '',
    'Password'    => '',
    'API'         => '',
    'FROM'        => '',
    'FLASH'       => '',
    'Internation' => '',
    'DATE'        => '',
    ];

$user    = (string) '';
$pass    = (string) '';
$from    = (string) '';
$text    = (string) '';
$numbers = (array) [''];

$sms = ( new PersianSms($config) )
    ->withUser( $user )
    ->withPass( $pass )
    ->from( $from )
    ->send( $text, $numbers );

var_dump($sms);
```

or user helper function

```
$sms = persian_sms($config)->send( $text, $numbers );
```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

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/fe658d680fef08378d50b4727e128d4372a746c8b33aa0f9471d7d7005920b41?d=identicon)[negartarh](/maintainers/negartarh)

---

Top Contributors

[![negartarh](https://avatars.githubusercontent.com/u/65663698?v=4)](https://github.com/negartarh "negartarh (9 commits)")

---

Tags

smssms-apisms-gateway

### Embed Badge

![Health badge](/badges/negartarh-persiansms/health.svg)

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

###  Alternatives

[tobai/magento2-geo-store-switcher

Switching websites/stores depending on current country.

3512.4k](/packages/tobai-magento2-geo-store-switcher)[hedger/laravel-envicon

Use a different favicon depending on your current runtime environment

193.2k](/packages/hedger-laravel-envicon)

PHPackages © 2026

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