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

ActiveLibrary[API Development](/categories/api)

makemymails-sms/makemymails-sms
===============================

API client library for the MakeMyMails sms

1.0(11y ago)015PHPPHP &gt;=5.2.0

Since Aug 22Pushed 11y agoCompare

[ Source](https://github.com/makemymails/makemymails-sms-php)[ Packagist](https://packagist.org/packages/makemymails-sms/makemymails-sms)[ Docs](https://github.org/makemymails/makemymails-sms-php)[ RSS](/packages/makemymails-sms-makemymails-sms/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Send automated SMS from your web application and android phone
--------------------------------------------------------------

[](#send-automated-sms-from-your-web-application-and-android-phone)

Free web api service provided courtsey: To use this library you have to signup for a free web account on makemymails.com. Your makemymails account will generate an API key for you that you can use with this library to send sms that is automatically routed via your android phone.

Quickstart
----------

[](#quickstart)

### Installing library

[](#installing-library)

#### Installing via Composer:

[](#installing-via-composer)

You can use composer to install makemymails-sms. To install composer:

```
curl -s http://getcomposer.org/installer | php
```

Now, Create a composer.json at the base of the project's root directory to hold your dependencies:

```
{
    "require": {
        "makemymails-sms/makemymails-sms": "1.0.*"
    }
}
```

Then use the composer.phar script to install the dependency

```
php composer.phar install
```

#### Installing from zip release:

[](#installing-from-zip-release)

- Download the [latest release](https://github.com/makemymails/makemymails-sms-php/archive/1.0.zip)
- Unpack the zip file.
- Move the files somewhere in your project. Then you can use the API by using require\_once call:

```
require_once 'location-of-source/makemymails-sms/mmm.php';
```

### Installing android backend and obtaining API key

[](#installing-android-backend-and-obtaining-api-key)

- Sign up on Makemymails [\[1\]](http://www.makemymails.com/accounts/signup/) and note your username somewhere
- Install Makemymails Android App [\[2\]](https://play.google.com/store/apps/details?id=awsms.mmm) Enter MMM username you used to register on the makemymails website. (Press "Associate username" button to associate your device with Makemymails web account)
- Visit  [\[3\]](http://www.makemymails.com/sms/api-details/)This page contains the MMM\_API\_KEY which can be used with this library. Please note it at a safe place and do not share it with anyone as the key is unique to you.

Steps with illustrations are available in this doc [\[4\]](https://docs.google.com/document/d/1JdFIQhPbDus5nBbYUpwgzAGdRoJsws6Z9rOjpRz3sVo/edit)

### Sending sms from your php code

[](#sending-sms-from-your-php-code)

```
// import the library
require_once 'location-of-source/makemymails-sms/mmm.php';

$MMM_API_KEY = "ASFERSFLHFWSDNW";
$DEVICE_ID = "132";

// initialize the MMM object..
$mmm_client = new MMM($MMM_API_KEY, $DEVICE_ID);

//  NOTE: You can also set your api key and device id in
// the environment variables. They will be automatically pulled from the environment.
// for api key,set environment variable:
//
// export MMM_API_KEY="your api key"
//
// for device id:
// export MMM_DEVICE_ID="1321"
// after setting the environment vars, you can simply call:

$mmm_client = new MMM();

$message = "This is a message sent via makemymails-sms";
$send_to_no = "123456789"; // this should be a string

// To send request via curl(requires PHP cURL as a dependency)
$result = $mmm_client->send_msg_via_curl($message, $send_to_no);

// to send request without using cURL(requires php>=5.2.0)
$result = $mmm_client->send_msg($message, $send_to_no);
```

### Requirements

[](#requirements)

- Android Phone must be connected to internet at all times
- Sim on the android phone for sending messages.

### Warning

[](#warning)

Warning: Api calls you make cause sms to be sent via your android phone, please make sure you install an sms pack/plan before sending sms.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4278d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62552118403dd2e5d29677e4219c26936600c3572b4183e794f8cff792992229?d=identicon)[tarzzz](/maintainers/tarzzz)

![](https://www.gravatar.com/avatar/34b4ca2ee009b6e3bc7c71eccee7eac16935400d6d0f813862eda889304391f6?d=identicon)[makemymails](/maintainers/makemymails)

---

Top Contributors

[![tarzzz](https://avatars.githubusercontent.com/u/1546532?v=4)](https://github.com/tarzzz "tarzzz (9 commits)")

---

Tags

apisms

### Embed Badge

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

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

###  Alternatives

[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1102.8M18](/packages/plivo-plivo-php)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1101.9M5](/packages/plivo-php-sdk)[melipayamak/php

A PHP wrapper for melipayamak's web services

3294.4k5](/packages/melipayamak-php)[smsfactor/smsfactor-php-sdk

SMSFactor client library for PHP

15382.5k2](/packages/smsfactor-smsfactor-php-sdk)

PHPackages © 2026

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