PHPackages                             avtonom/sms-sender - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. avtonom/sms-sender

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

avtonom/sms-sender
==================

The almost missing SMS sending PHP library.

v1.6.0(7y ago)08061MITPHPPHP ~5.3|~7.0

Since Sep 2Pushed 7y ago2 watchersCompare

[ Source](https://github.com/Avtonom/SmsSender)[ Packagist](https://packagist.org/packages/avtonom/sms-sender)[ Docs](https://github.com/Avtonom/SmsSender)[ RSS](/packages/avtonom-sms-sender/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (14)Used By (1)

SmsSender [![Build Status](https://camo.githubusercontent.com/dea7d5632eb268dce72924b9d648d17989884f0760fe9f6fdce0824b60464601/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f43617270652d486f72612f536d7353656e6465722e706e67)](http://travis-ci.org/Carpe-Hora/SmsSender)
======================================================================================================================================================================================================================================================================================

[](#smssender-)

**SmsSender** is a library which helps you send SMS through your web applications. It provides an abstraction layer for sms manipulations. The library is splitted in two parts: `HttpAdapter` and `Provider` and is really extensible.

**N.B**: there is also a [bundle](https://github.com/K-Phoen/KPhoenSmsSenderBundle)integrating this library in Symfony2 applications.

Status
------

[](#status)

If someone magically appears and wants to maintain this project, I'll gladly give access to this repository.

### HttpAdapters

[](#httpadapters)

*HttpAdapters* are responsible to get data from remote APIs.

Currently, there are the following adapters:

- `BuzzHttpAdapter` for [Buzz](https://github.com/kriswallsmith/Buzz), a lightweight PHP 5.3 library for issuing HTTP requests;
- `CurlHttpAdapter` for [cURL](http://php.net/manual/book.curl.php);

### Providers

[](#providers)

*Providers* contain the logic to extract useful information.

The following providers are supported:

- [Esendex](http://www.esendex.fr/)
- [Nexmo](http://www.nexmo.com/)
- [Twilio](https://www.twilio.com/)
- [CardBoardFish](http://www.cardboardfish.com/)
- [ValueFirst](http://vfirst.com/) (only covering India's networks)
- [Swisscom](http://developer.swisscom.com/) (based on the [GSMA OneAPI](http://www.gsma.com/oneapi/) Specification)
- [websms](https://websms.at/)

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

[](#installation)

The recommended way to install SmsSender is through composer.

Just create a `composer.json` file for your project:

```
{
    "require": {
        "Carpe-Hora/SmsSender": "~1.0"
    }
}
```

Usage
-----

[](#usage)

First, you need an `adapter` to query an API:

```
