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 today

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

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M478](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M271](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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