PHPackages                             iamirnet/samantel - 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. [API Development](/categories/api)
4. /
5. iamirnet/samantel

ActiveLibrary[API Development](/categories/api)

iamirnet/samantel
=================

A PHP wrapper for Samantel

1.0.0(2y ago)0301MITPHP

Since Dec 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/iamirnet/samantel)[ Packagist](https://packagist.org/packages/iamirnet/samantel)[ Docs](https://php.iamir.net/packages/samantel)[ RSS](/packages/iamirnet-samantel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (1)

[![Latest Version](https://camo.githubusercontent.com/5fde20185cbdab52615d8726240a4cb4df87079ac990b6570c0d51861028f9b3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f69616d69726e65742f73616d616e74656c2e7376673f7374796c653d666c61742d737175617265)](https://github.com/iamirnet/samantel/releases)[![GitHub last commit](https://camo.githubusercontent.com/5548137d6fd70f088a7445ee5a81695774ef968851bb2a4e3518386711615f11/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f69616d69726e65742f73616d616e74656c2e7376673f7374796c653d666c61742d737175617265)](#)[![Packagist Downloads](https://camo.githubusercontent.com/f14169a86f779e8a037f873bb4c67bc1bdb3c4ea70d7ad8f6af9300c8ed59dc9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69616d69726e65742f73616d616e74656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/iamirnet/samantel)

PHP SamanTel Webservice
=======================

[](#php-samantel-webservice)

This project is designed to help you make your own projects that interact with the SamanTel

#### Installation

[](#installation)

```
composer require iamirnet/samantel

```

 Click for help with installationInstall Composer
----------------

[](#install-composer)

If the above step didn't work, install composer and try again.

#### Debian / Ubuntu

[](#debian--ubuntu)

```
sudo apt-get install curl php-curl
curl -s http://getcomposer.org/installer | php
php composer.phar install

```

Composer not found? Use this command instead:

```
php composer.phar require "iamirnet/samantel"

```

#### Installing on Windows

[](#installing-on-windows)

Download and install composer:

1.
2. Create a folder on your drive like C:\\iAmirNet\\SamanTel
3. Run command prompt and type `cd C:\iAmirNet\SamanTel`
4. `composer require iamirnet/samantel`
5. Once complete copy the vendor folder into your project.

#### Getting started

[](#getting-started)

`composer require iamirnet/samantel`

```
require 'vendor/autoload.php';
// config by specifying api key and secret
$api = new \iAmirNet\SamanTel\SamanTelSOAP("username","password");
```

=======

#### Get Balance

[](#get-balance)

```
//Call this before running any functions
print_r($api->balance());
```

=======

#### Send Message

[](#send-message)

```
//Call this before running any functions
print_r($api->send(/*Sender Number*/"989999xxxx", /*Receive Number*/"989xxxxxxxxxx",/*Text Message*/ "متن پیامک", /* Flash */ 1));
```

=======

#### Send Multiple

[](#send-multiple)

```
//Call this before running any functions
print_r($api->sendMultiple(/*Senders Number*/["989999xxxx"], /*Receives Number*/["989xxxxxxxxxx"],/*Text Messages*/ ["متن پیامک"], /* Flash */ [1], , /* Custom Ids */ [140210111]));
```

=======

#### DeliveryReport

[](#deliveryreport)

```
//Call this before running any functions
print_r($api->deliveryReport(/*Sender Number*/"989999xxxx", /*Message ID*/48222256, /*from ID Or Null*/'48222254', ));
```

=======

#### ViewReceive

[](#viewreceive)

```
//Call this before running any functions
print_r($api->viewReceive(/*Number*/"989999xxxx", /*Message ID Or Null*/48222256));
```

=======

#### GetStatuses

[](#getstatuses)

```
//Call this before running any functions
print_r($api->getStatuses(/* Custom Ids */ [140210111]));
```

=======

#### GetStatuses\_OriginalID

[](#getstatuses_originalid)

```
//Call this before running any functions
print_r($api->getStatuses_OriginalID(/* Custom Ids */ [140210111]));
```

=======

#### Acknowledge

[](#acknowledge)

```
//Call this before running any functions
print_r($api->acknowledge(/* Custom Ids */ [140210111]));
```

Contribution
------------

[](#contribution)

- Give us a star ⭐
- Fork and Clone! Awesome
- Select existing [issues](https://github.com/iamirnet/samantel/issues) or create a [new issue](https://github.com/iamirnet/samantel/issues/new) and give us a PR with your bugfix or improvement after. We love it ❤️

Donate
------

[](#donate)

- USDT Or TRX: TUE8GiY4vmz831N65McwzZVbA9XEDaLinn 😘❤

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

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

Unknown

Total

1

Last Release

866d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1670938?v=4)[Peyman Jahani](/maintainers/jahani)[@jahani](https://github.com/jahani)

---

Top Contributors

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

---

Tags

apismssoapsamantel

### Embed Badge

![Health badge](/badges/iamirnet-samantel/health.svg)

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

###  Alternatives

[smsfactor/smsfactor-php-sdk

SMSFactor client library for PHP

15382.5k2](/packages/smsfactor-smsfactor-php-sdk)

PHPackages © 2026

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