PHPackages                             polygontech/sms-service-client - 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. polygontech/sms-service-client

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

polygontech/sms-service-client
==============================

Send SMS through sms-service of Polygon Technology

1.0.0(3y ago)082MITPHPPHP &gt;=8.1.0

Since Dec 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ShafiqIslam/sms-service-client)[ Packagist](https://packagist.org/packages/polygontech/sms-service-client)[ Docs](https://github.com/ShafiqIslam/sms-service-client)[ RSS](/packages/polygontech-sms-service-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

polygontech/sms-service-client
==============================

[](#polygontechsms-service-client)

 **Send SMS through sms-service of Polygon Technology**

polygontech/sms-service-client is mainly used in laravel projects at polygontech in combination of [sms-service(e.g.)](https://github.com/PolygonTechnology-xyz/ranks-reward-sms), which is responsible sending sms as a microservice. So, make sure of installing and running the sms-service before integrating this client.

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

[](#installation)

The preferred method of installation is via [Composer](https://getcomposer.org/). Run the following command to install the package and add it as a requirement to your project's `composer.json`:

```
composer require polygontech/sms-service-client
```

then, publish the needed config:

```
php artisan vendor:publish --provider='Polygontech\SmsService\ServiceProvider'

# or,

php artisan vendor:publish # and select 'Polygontech\SmsService\ServiceProvider' when prompted
```

Usage
-----

[](#usage)

First of all, create a `enum` implementing the `interface` named `Feature`. **The `enum` should contain cases for *features* supported by the installed sms service.** For example for a *sms-service* supporting *test, otp* features, the `enum` should look like:

```
use Polygontech\SmsService\Inputs\Feature;

enum SmsFeatures implements Feature
{
    case TEST;
    case OTP;

    public function getFeatureType(): string
    {
        switch ($this) {
            case self::TEST: return "test";
            case self::OTP: return "otp";
        }
    }
}

// or,

enum SmsFeatures : string implements Feature
{
    case TEST = "test";
    case OTP = "otp";

    public function getFeatureType(): string
    {
        return $this->value;
    }
}
```

Then, to shoot a single sms:

```
use Polygontech\CommonHelpers\Mobile\BDMobile;
use Polygontech\SmsService\Facades\Sms;
use Polygontech\SmsService\Responses\SingleSmsResponse;

/** @var SingleSmsResponse $output */
$output = Sms::shoot(SmsFeatures::TEST, new BDMobile("+8801678242960"), "test sms"));
```

To shoot a bulk sms:

```
use Polygontech\CommonHelpers\Mobile\BDMobile;
use Polygontech\SmsService\Facades\Sms;
use Polygontech\SmsService\Responses\BulkSmsResponse;

/** @var BulkSmsResponse $output */
$output = Sms::shoot(SmsFeatures::TEST, [
    new BDMobile("+8801678242960"),
    new BDMobile("+8801678242961"),
], "test bulk sms"));
```

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

[](#contributing)

Contributions are welcome! To contribute, please familiarize yourself with [CONTRIBUTING.md](CONTRIBUTING.md).

Copyright and License
---------------------

[](#copyright-and-license)

The polygontech/nagad-disbursement library is copyright © [Shafiqul Islam](https://github.com/ShafiqIslam/), [Polygon Technology](https://polygontech.xyz/) and licensed for use under the MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

1255d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b18979fc84437c8299fb0333fe992e0dae414fbeeb1b9059ce09287e94d6503?d=identicon)[shafiqistaken](/maintainers/shafiqistaken)

---

Tags

smsbulk-smsSMS Service

### Embed Badge

![Health badge](/badges/polygontech-sms-service-client/health.svg)

```
[![Health](https://phpackages.com/badges/polygontech-sms-service-client/health.svg)](https://phpackages.com/packages/polygontech-sms-service-client)
```

###  Alternatives

[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[minchao/every8d-php

A EVERY8D SMS SDK for PHP (Unofficial)

1239.9k1](/packages/minchao-every8d-php)[ender/yunpian-sms

A php SDK for yunpian(云片网络短信服务商) sms RESTFULL API

244.9k](/packages/ender-yunpian-sms)[mediumart/orange-sms

A php library to interact with the orange sms api for MiddleEast and Africa.

1311.1k1](/packages/mediumart-orange-sms)

PHPackages © 2026

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