PHPackages                             sinarajabpour1998/notifier - 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. sinarajabpour1998/notifier

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

sinarajabpour1998/notifier
==========================

v2.11.1(3y ago)2831MITPHPPHP 7.1.\*|7.2.\*|7.3.\*|7.4.\*|8.\*

Since Jul 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sinarajabpour1998/notifier)[ Packagist](https://packagist.org/packages/sinarajabpour1998/notifier)[ RSS](/packages/sinarajabpour1998-notifier/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (2)Versions (16)Used By (1)

Laravel Notifier Package For Iranian SMS Services
=================================================

[](#laravel-notifier-package-for-iranian-sms-services)

[![GitHub issues](https://camo.githubusercontent.com/9b9a269312de57ac698568353b2345949351c0ace34d4b43693827e0144a6fc2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f73696e6172616a6162706f7572313939382f6e6f7469666965723f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/notifier/issues)[![GitHub stars](https://camo.githubusercontent.com/d53cbeab6d190f901ea47a2aca9a58c9cbaa57f89801cbf70170152d0ab8de63/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f73696e6172616a6162706f7572313939382f6e6f7469666965723f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/notifier/stargazers)[![GitHub forks](https://camo.githubusercontent.com/e0f6bbca80dfb1a87f86640d463a0524e498dd30a73ed1801721b048f5cde2c3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f73696e6172616a6162706f7572313939382f6e6f7469666965723f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/notifier/network)[![GitHub license](https://camo.githubusercontent.com/9eef016a1148649543fc82bc8ab8c1a8852948f8a61347d132c75941b079d3c2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f73696e6172616a6162706f7572313939382f6e6f7469666965723f7374796c653d666c61742d737175617265)](https://github.com/sinarajabpour1998/notifier/blob/main/LICENSE)

This is a Laravel Package for SMS Service Integration.

#### List of available drivers

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

- [ghasedak](https://ghasedak.io/)
- [sms.ir](https://sms.ir/)

How to install and config [sinarajabpour1998/notifier](https://github.com/sinarajabpour1998/notifier) package?
--------------------------------------------------------------------------------------------------------------

[](#how-to-install-and-config-sinarajabpour1998notifier-package)

#### Installation

[](#installation)

```

composer require sinarajabpour1998/notifier

```

#### Publish Config file

[](#publish-config-file)

```

php artisan vendor:publish --tag=notifier

```

#### Migrate tables, to add notifier tables to database

[](#migrate-tables-to-add-notifier-tables-to-database)

```

php artisan migrate

```

#### How to use exists drivers from package

[](#how-to-use-exists-drivers-from-package)

- Set the configs in /config/notifier.php
- Use this sample code to send sms

    ```
      Notifier::driver('{driver_name}(like ghasedak)')
            ->userId(user_id_integer)
            ->templateId({template_id_integer(must be defined in a seeder)})
            ->params(['param1' => 'string', ... ,'param10' => 'string'])
            ->options(['method' => '{driver_method_name}(like otp)','hasPassword' => 'if_this_message_has_password(yes or no)'])
            ->send();

    ```
- Ghasedak OTP method example :

    ```
      Notifier::driver('ghasedak')
            ->userId(2)
            ->templateId(1)
            ->params(['param1' => 'passwdsd12ds'])
            ->options(['method' => 'otp','ghasedak_template_name' => 'registration', 'hasPassword' => 'yes'])
            ->send();
    ```

Parameters
----------

[](#parameters)

ParameterRequiredDescriptionTypeExampledriverNoDriver to be usedstringghasedakuserIdNoThe id of the receiver user.integer12templateIdYesThe id of the template of the message, which, specified in your seeder.**`(You must create a seeder before continue, please read the seeder part)`**integer14paramsYesAll the parameters that you want to put in the sms template.array\['param1' =&gt; 'passwdsd12ds', 'param2' =&gt; 'my text'\]optionsYesIt is used to set several options for each driver,a driver maybe contains it's own options.array\['method' =&gt; 'otp','ghasedak\_template\_name' =&gt; 'registration', 'hasPassword' =&gt; 'yes'\]Template Seeder
---------------

[](#template-seeder)

- Basic and standard structure :

```
  public function run()
    {
        DB::table('notifier_sms_templates')->insertOrIgnore([
            [
                'id' => 1,
                'template_text' => 'جهت اطلاعات بیشتر به این وبسایت مراجعه کنید : [param1]',
                'created_at' => now(),
                'updated_at' => now(),
            ]
        ]);
    }
```

- id : used in templateId option
- template\_text : add your parameters by number (up to 10) in your message text like \[param1\] or \[param2\]

#### Requirements:

[](#requirements)

- PHP v7.0 or above
- Laravel v7.0 or above
- ghasedak/php package [packagist link](https://packagist.org/packages/ghasedak/php)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Recently: every ~50 days

Total

15

Last Release

1334d ago

Major Versions

v1.0 → v2.02021-07-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0f9a46cf81b1da334ac80cfdaedd9f20f71430bda89cf3d835b42071e386d9a?d=identicon)[sinarajabpour1998](/maintainers/sinarajabpour1998)

---

Top Contributors

[![sinatx](https://avatars.githubusercontent.com/u/76904071?v=4)](https://github.com/sinatx "sinatx (17 commits)")

### Embed Badge

![Health badge](/badges/sinarajabpour1998-notifier/health.svg)

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

###  Alternatives

[spatie/laravel-failed-job-monitor

Get notified when a queued job fails

1.0k2.6M4](/packages/spatie-laravel-failed-job-monitor)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[synergitech/laravel-postal

This library integrates Postal with the standard Laravel mail framework.

38107.1k](/packages/synergitech-laravel-postal)[motomedialab/smtp2go

Send emails via API using the first-class email courier SMTP2Go

1316.3k](/packages/motomedialab-smtp2go)

PHPackages © 2026

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