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)0103MITPHPPHP &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 today

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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

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

1301d ago

### Community

Maintainers

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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M45](/packages/tencentcloud-tencentcloud-sdk-php)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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