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

ActiveLibrary[API Development](/categories/api)

unisharp/sms
============

Aptg SMS client for Laravel

2255PHP

Since Oct 30Pushed 7y ago10 watchersCompare

[ Source](https://github.com/UniSharp/sms)[ Packagist](https://packagist.org/packages/unisharp/sms)[ RSS](/packages/unisharp-sms/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

SMS package for Laravel
=======================

[](#sms-package-for-laravel)

Only support APTG SMS for now.

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

[](#installation)

```
    composer require unisharp/sms

```

Usage
-----

[](#usage)

### Using facade

[](#using-facade)

Edit `.env`:

```
    APTG_MDN=xxx
    APTG_UID=yyy
    APTG_UPASS=zzz
    SMS_IS_DRY_RUN=false // If set to true, no sms will be sent. Only log messages are recorded.

```

Code:

```
    \Sms::send($phone_number, $message); // boolean value is returned.

```

### Pass credentials manually

[](#pass-credentials-manually)

```
    $client = new AptgSmsClient('your APTG_MDN', 'your APTG_UID', 'your APTG_UPASS');

    $response = $client->send([$phone_number], $message);  // Instance of AptgClient is returned.

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 64.3% 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/49773ea5050ec1d004a506cc1e11be08d6e87339120b5d223b8921e3f671153c?d=identicon)[g0110280](/maintainers/g0110280)

---

Top Contributors

[![streamtw](https://avatars.githubusercontent.com/u/7333171?v=4)](https://github.com/streamtw "streamtw (9 commits)")[![bluehaha2](https://avatars.githubusercontent.com/u/26923948?v=4)](https://github.com/bluehaha2 "bluehaha2 (4 commits)")[![youchenlee](https://avatars.githubusercontent.com/u/181350?v=4)](https://github.com/youchenlee "youchenlee (1 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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