PHPackages                             pishehgostar/exchange-melipayamak - 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. pishehgostar/exchange-melipayamak

ActiveLibrary

pishehgostar/exchange-melipayamak
=================================

v1.0.0(2y ago)04PHP

Since Feb 4Pushed 2y ago1 watchersCompare

[ Source](https://github.com/pishehgostar/exchange-melipayamak)[ Packagist](https://packagist.org/packages/pishehgostar/exchange-melipayamak)[ RSS](/packages/pishehgostar-exchange-melipayamak/feed)WikiDiscussions main Synced 1mo ago

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

Melipayamak - Laravel Notification Channel
==========================================

[](#melipayamak---laravel-notification-channel)

This package makes it easy to send notifications using [Melipayamak](https://www.melipayamak.com/) , with Laravel 9.x

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

[](#installation)

This package can be installed through Composer.

```
composer require pishehgostar/exchange-melipayamak
```

Setting up Melipayamak service
------------------------------

[](#setting-up-melipayamak-service)

Add your melipayamak service information in services.php config file.

```
return [

    /*
    |--------------------------------------------------------------------------
    | Third Party Services
    |--------------------------------------------------------------------------
    |
    | This file is for storing the credentials for third party services such
    | as Mailgun, Postmark, AWS and more. This file provides the de facto
    | location for this type of information, allowing packages to have
    | a conventional file to locate the various service credentials.
    |

    // ...

    'melipayamak'=>[
        'username'=>'###',
        'password'=>'###',
        'from'=>'###',
    ]

];
```

Usage
-----

[](#usage)

In every model you wish to be notifiable via Melipayamak, you must add a channel ID property to that model accessible through a routeNotificationForMelipayamak method:

```
class YourModel extends Eloquent
{
    use Notifiable;

    public function routeNotificationForMelipayamak(Notification $notification): array|string
    {
        return $this->mobile;
    }
}
```

You may now tell Laravel to send notifications to melipayamak channels in the via method:

```
class InvoicePaidNotification extends Notification
{
    public function via(object $notifiable): array
    {
        return ['melipayamak'];
    }

    // send sms using patterns
    public function toMelipayamak(object $notifiable): MelipayamakSmsMessage
    {
        $pattern_code = '######';
        $pattern_parameters = ['first','second'];
        return (new MelipayamakSmsMessage)
            ->pattern($pattern_code,$pattern_parameters);
    }

    // send simple sms
    public function toMelipayamak(object $notifiable): MelipayamakSmsMessage
    {
        return (new MelipayamakSmsMessage)
            ->simple('salam');
    }
}
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

2

Last Release

829d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e2ca994bb095d3cd940d241c2ef32ae9f075ee775843358007313e9aceeeea0?d=identicon)[pishehgostar](/maintainers/pishehgostar)

---

Top Contributors

[![Hosseinasadian](https://avatars.githubusercontent.com/u/76206159?v=4)](https://github.com/Hosseinasadian "Hosseinasadian (5 commits)")

### Embed Badge

![Health badge](/badges/pishehgostar-exchange-melipayamak/health.svg)

```
[![Health](https://phpackages.com/badges/pishehgostar-exchange-melipayamak/health.svg)](https://phpackages.com/packages/pishehgostar-exchange-melipayamak)
```

PHPackages © 2026

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