PHPackages                             net-tools/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. [Mail &amp; Notifications](/categories/mail)
4. /
5. net-tools/sms

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

net-tools/sms
=============

Composer library for sending SMS through several gateways

1.0.5(2y ago)0462MITPHPPHP &gt;= 7.2.0

Since Mar 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/net-tools/SMS)[ Packagist](https://packagist.org/packages/net-tools/sms)[ RSS](/packages/net-tools-sms/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (7)Used By (2)

net-tools/sms
=============

[](#net-toolssms)

Root composer library to send SMS through an host such as AWS SNS or OVH
------------------------------------------------------------------------

[](#root-composer-library-to-send-sms-through-an-host-such-as-aws-sns-or-ovh)

Setup instructions
------------------

[](#setup-instructions)

To install net-tools/sms package, just require it through composer : `require net-tools/sms:^1.0.0`.

Don't forget to append the real implementation : `require net-tools/sms-aws:^1.0.0` or `require net-tools/sms-ovh:^1.0.0`

How to use ?
------------

[](#how-to-use-)

This project makes it possible to send SMS through AWS SNS or OVH provider

```
// create the $snsclient ; please refer to AWS API reference to see how to create the client

// creating config ; actual parameters vary along providers
$config = new \Nettools\Core\Misc\ObjectConfig((object)['sanitizeSenderId' => true]);

// create the api gateway
$gw = new Aws\ApiGateway($snsclient, $config);

// send a sms to several recipients, and this is a transactionnal message (last parameter set to True)
$gw->send('Appointment confirmed !', 'CLINIC', ['+XXYYYYYYYYY', '+XXZZZZZZZZZZ'], true);

// if there are many recipients, call bulkSend insted, with same parameters, as it's more optimized
```

The APIs supported are : AWS and OVH.

PHPUnit
-------

[](#phpunit)

To test with PHPUnit, point the -c configuration option to the /phpunit.xml configuration file.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~191 days

Recently: every ~239 days

Total

6

Last Release

939d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cb0c1d404c8ae72b0a731246130079c2f440d6ea079815ca8c153aa361b1f28?d=identicon)[nettools.ovh](/maintainers/nettools.ovh)

---

Top Contributors

[![net-tools](https://avatars.githubusercontent.com/u/6818724?v=4)](https://github.com/net-tools "net-tools (15 commits)")

### Embed Badge

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

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

###  Alternatives

[tijsverkoyen/css-to-inline-styles

CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. This is very useful when you're sending emails.

5.8k505.3M227](/packages/tijsverkoyen-css-to-inline-styles)[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[laravel-notification-channels/twilio

Provides Twilio notification channel for Laravel

2587.7M12](/packages/laravel-notification-channels-twilio)[spatie/url-signer

Generate a url with an expiration date and signature to prevent unauthorized access

4422.3M16](/packages/spatie-url-signer)[mattketmo/email-checker

Throwaway email detection library

2742.0M5](/packages/mattketmo-email-checker)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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