PHPackages                             blackm13/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. [HTTP &amp; Networking](/categories/http)
4. /
5. blackm13/melipayamak

ActiveLibrary[HTTP &amp; Networking](/categories/http)

blackm13/melipayamak
====================

Laravel 10+ package for MeliPayamak SMS service

00PHP

Since Mar 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/BlackM13/meli-payamak)[ Packagist](https://packagist.org/packages/blackm13/melipayamak)[ RSS](/packages/blackm13-melipayamak/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

SMS Service Package
===================

[](#sms-service-package)

A simple PHP package for interacting with the Payamak SMS API to send and manage SMS messages effortlessly.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
    - [Sending SMS](#sending-sms)
    - [Sending Multiple SMS](#sending-multiple-sms)
    - [Getting Delivery Status](#getting-delivery-status)
    - [Retrieving Messages](#retrieving-messages)
    - [Checking Credit](#checking-credit)
    - [Getting Base Price](#getting-base-price)
    - [Getting User Numbers](#getting-user-numbers)
- [Contributing](#contributing)
- [License](#license)

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

[](#installation)

Install the package via Composer:

```
composer require black-m13/meli-payamak
```

### Register Service Provider (Laravel 10+)

[](#register-service-provider-laravel-10)

The service provider is automatically registered via Laravel's package discovery. However, if needed, manually add it in `config/app.php`:

```
'providers' => [
    BlackM13\MeliPayamak\SmsServiceProvider::class,
],
```

### Alias the Facade

[](#alias-the-facade)

Add the alias in `config/app.php` to use `SmsService` statically:

```
'aliases' => [
    'SmsService' => BlackM13\MeliPayamak\Facades\SmsService::class,
],
```

Usage
-----

[](#usage)

### Sending SMS

[](#sending-sms)

Send an SMS using the `sendSMS` method:

```
use SmsService;

$response = SmsService::sendSMS('09123456789', '1000', 'Your message here');
```

### Sending Multiple SMS

[](#sending-multiple-sms)

To send different messages to multiple recipients, use `sendMultipleSMS`:

```
$response = SmsService::sendMultipleSMS(
    ['09123456789', '09129876543'],
    '1000',
    ['Message for first recipient', 'Message for second recipient']
);
```

### Getting Delivery Status

[](#getting-delivery-status)

Check the delivery status of a sent SMS using `getDeliveryStatus` with the `recID` received during sending:

```
$response = SmsService::getDeliveryStatus('recID');
```

### Retrieving Messages

[](#retrieving-messages)

Get a list of sent or received messages using `getMessages`. Use `2` for sent messages:

```
$response = SmsService::getMessages(2);
```

### Checking Credit

[](#checking-credit)

Retrieve your SMS credit balance with `getCredit`:

```
$response = SmsService::getCredit();
```

### Getting Base Price

[](#getting-base-price)

Retrieve the base price for sending SMS using `getBasePrice`:

```
$response = SmsService::getBasePrice();
```

### Getting User Numbers

[](#getting-user-numbers)

Get a list of your dedicated numbers using `getUserNumbers`:

```
$response = SmsService::getUserNumbers();
```

Contributing
------------

[](#contributing)

Contributions are welcome! If you encounter issues or have suggestions, feel free to open an issue or submit a pull request.

License
-------

[](#license)

This package is licensed under the MIT License. See the `LICENSE` file for details.

###  Health Score

14

—

LowBetter than 1% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity16

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://avatars.githubusercontent.com/u/100307090?v=4)[BlackM13](/maintainers/BlackM13)[@BlackM13](https://github.com/BlackM13)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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