PHPackages                             buihai279/sms-sdk - 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. buihai279/sms-sdk

ActiveLibrary

buihai279/sms-sdk
=================

FPT SMS vendor custom by Diag, haibv custom

0319PHP

Since Nov 25Pushed 2y agoCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

1. Install
==========

[](#1-install)

PHP Sdk for FPT Run:

```
composer require diagvn/sms-sdk

```

2. Config
=========

[](#2-config)

For Laravel, run:

```
php artisan vendor:publish --provider="DiagVN\\SmsServiceProvider"

```

Run

```
php artisan migrate

```

Add config to .env

```
FPT_BRAND_NAME=
FPT_CLIENT_ID=
FPT_CLIENT_SECRET=
SMS_MODE=
SMS_PROVIDER=
SMS_WHITELIST=
LOG_SMS=

```

SMS\_PROVIDER: SMS service provider name

SMS\_WHITELIST: List phone number was allowed to send SMS in test and dev enviroment

LOG\_SMS: true/false, set enable log sms

3. Example
==========

[](#3-example)

```
use DiagVN\SmsService;
try {
    $service = app(SmsService::class);
    $service->sendMessage(
        +840909111111,
        'Test Send SMS'
    );
} catch (Exception $ex) {
    report($ex);
}

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 57.1% 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://www.gravatar.com/avatar/2e6984909cb1ecd70da22bce87b87da782ecd4bd8b7f891661f658b148662e15?d=identicon)[buihai279](/maintainers/buihai279)

---

Top Contributors

[![giangbeo91](https://avatars.githubusercontent.com/u/5754905?v=4)](https://github.com/giangbeo91 "giangbeo91 (8 commits)")[![buihai279](https://avatars.githubusercontent.com/u/23662126?v=4)](https://github.com/buihai279 "buihai279 (3 commits)")[![kingkong0905](https://avatars.githubusercontent.com/u/93912682?v=4)](https://github.com/kingkong0905 "kingkong0905 (2 commits)")[![buihai2603](https://avatars.githubusercontent.com/u/9254284?v=4)](https://github.com/buihai2603 "buihai2603 (1 commits)")

### Embed Badge

![Health badge](/badges/buihai279-sms-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/buihai279-sms-sdk/health.svg)](https://phpackages.com/packages/buihai279-sms-sdk)
```

PHPackages © 2026

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