PHPackages                             alishojaeiir/smschi - 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. alishojaeiir/smschi

ActiveLibrary

alishojaeiir/smschi
===================

simple laravel package to sending sms , supports multiple drivers

v1.0.8(5y ago)140MITPHPPHP &gt;=7.2

Since Jun 25Pushed 5y ago1 watchersCompare

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

READMEChangelog (9)Dependencies (3)Versions (16)Used By (0)

[![](smschi.png?raw=true)](smschi.png?raw=true)

Laravel Sending SMS
===================

[](#laravel-sending-sms)

[![Latest Stable Version](https://camo.githubusercontent.com/ef081a4d228058de6408466096199a756d2136d4bacc30f7f0c27b782e905af9/68747470733a2f2f706f7365722e707567782e6f72672f616c6973686f6a61656969722f736d736368692f76)](//packagist.org/packages/alishojaeiir/smschi)[![Total Downloads](https://camo.githubusercontent.com/3187c45703a43835f407dd794b778173cbbad1a84b90437f6d2dd0f185672555/68747470733a2f2f706f7365722e707567782e6f72672f616c6973686f6a61656969722f736d736368692f646f776e6c6f616473)](//packagist.org/packages/alishojaeiir/smschi)[![Latest Unstable Version](https://camo.githubusercontent.com/be929945132d718a172568889d03bc68f68bbeb2ce265eacadfec68fd0cba026/68747470733a2f2f706f7365722e707567782e6f72672f616c6973686f6a61656969722f736d736368692f762f756e737461626c65)](//packagist.org/packages/alishojaeiir/smschi)[![License](https://camo.githubusercontent.com/025fe404c987a3d9636c05c1ec466ecf41021e8e31008165a067644db30a6d76/68747470733a2f2f706f7365722e707567782e6f72672f616c6973686f6a61656969722f736d736368692f6c6963656e7365)](//packagist.org/packages/alishojaeiir/smschi)[![StyleCI](https://camo.githubusercontent.com/a1224a15badcc43b35a841e43c928f44c4e6883422eb43da62ae69a8684538e4/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3237343632353631362f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/274625616)[![Code Quality Score](https://camo.githubusercontent.com/b48d953c786b5fe52989603eccc28ce91318de873cf9277dba13706d35bc8dcb/68747470733a2f2f7777772e636f64652d696e73706563746f722e636f6d2f70726f6a6563742f31303238302f73636f72652f737667)](https://frontend.code-inspector.com/public/project/10280/smschi/dashboard)

This is a Laravel Package for Sending sms. This package supports `Laravel 5.8+`.

> This packages works with multiple drivers, and you can create custom drivers if you can't find them in the [current drivers list](https://github.com/alishojaeiir/smschi#list-of-available-drivers) (below list).

List of contents
================

[](#list-of-contents)

- [Laravel Sending SMS](https://github.com/alishojaeiir/smschi#laravel-sending-sms)
- [List of contents](https://github.com/alishojaeiir/smschi#list-of-contents)
- [List of available drivers](https://github.com/alishojaeiir/smschi#list-of-available-drivers)
    - [Install](https://github.com/alishojaeiir/smschi#install)
    - [Configure](https://github.com/alishojaeiir/smschi#configure)
    - [Security](https://github.com/alishojaeiir/smschi#security)
    - [Credits](https://github.com/alishojaeiir/smschi#credits)
    - [License](https://github.com/alishojaeiir/smschi#license)

List of available drivers
=========================

[](#list-of-available-drivers)

- [parsasms](http://parsasms.com/)
- [melipayamak (with sendSharedService method to use SharedService)](https://www.melipayamak.com/)

Install
-------

[](#install)

Via Composer

```
$ composer require alishojaeiir/smschi
```

Configure
---------

[](#configure)

If you are using `Laravel 5.5` or higher then you don't need to add the provider and alias. (Skip to b)

a. In your `config/app.php` file add these two lines.

```
// In your providers array.
'providers' => [
...
/*
 * Package Service Providers...
 */

Alishojaeiir\Smschi\SmschiServiceProvider::class,
/*
 * Application Service Providers...
 */
...
],

// In your aliases array.
'aliases' => [
...
'smschi' => Alishojaeiir\Smschi\SmschiFacade::class,
],
```

b. then run `php artisan vendor:publish` to publish `config/smschi.php` file in your config directory.

In the config file you can set the `default driver` to use for all sending. But you can also change the driver at runtime.

Choose what provider you would like to use in your application. Then make that as default driver so that you don't have to specify that everywhere. But, you can also use multiple providers in a project.

```
// Eg. if you want to use parsasms.
'default' => 'parsasms',
```

Then fill the credentials for that gateway in the drivers array.

```
'drivers' => [
        'parsasms' => [
            'apiUrl' => "http://api.smsapp.ir/v2/sms/",
            'apiKey' => "api_key",
            'sender' => "sender number",
        ],
...
]
```

How to use
----------

[](#how-to-use)

In your code, use it like the below:

```
\smschi::prepare($receiver, $message)->send();
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Ali Shojaei](https://github.com/alishojaeiir)
- [All Contributors](https://github.com/alishojaeiir/smschi/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/shetabit/payment/blob/master/LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

9

Last Release

1908d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc76f616799ce3dc993be09bd9e84d6920b1f2684c2af7aa2fff652ede8ab37c?d=identicon)[m\_a\_sh](/maintainers/m_a_sh)

---

Top Contributors

[![alishojaeiir](https://avatars.githubusercontent.com/u/25051128?v=4)](https://github.com/alishojaeiir "alishojaeiir (32 commits)")

### Embed Badge

![Health badge](/badges/alishojaeiir-smschi/health.svg)

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

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1225.0k10](/packages/fleetbase-core-api)

PHPackages © 2026

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