PHPackages                             carpe-hora/smssender - 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. carpe-hora/smssender

AbandonedLibrary

carpe-hora/smssender
====================

The almost missing SMS sending PHP library.

1.4.0(11y ago)5411.4k19[3 PRs](https://github.com/Carpe-Hora/SmsSender/pulls)2MITPHPPHP &gt;=5.3.0

Since Sep 2Pushed 9y ago13 watchersCompare

[ Source](https://github.com/Carpe-Hora/SmsSender)[ Packagist](https://packagist.org/packages/carpe-hora/smssender)[ Docs](http://github.com/Carpe-Hora/SmsSender)[ RSS](/packages/carpe-hora-smssender/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (2)

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)

This project is **DEPRECATED** and should NOT be used.

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:

```
