PHPackages                             econic/mobilant - 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. econic/mobilant

Abandoned → mobilantArchivedLibrary[Utility &amp; Helpers](/categories/utility)

econic/mobilant
===============

Utility class for the mobilant sms service

0.3.0(9y ago)0227MITPHP

Since Apr 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/econic/Mobilant)[ Packagist](https://packagist.org/packages/econic/mobilant)[ Docs](https://github.com/econic/Mobilant.git)[ RSS](/packages/econic-mobilant/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (0)

About
-----

[](#about)

> [Mobilant](http://mobilant.de/) is an ideal platform for sending sms, using this very simple API.

This is a composer package for using the [Mobilant](http://mobilant.de/) REST API. Have a look at their API docs for more details about all the parameters.

minimum configuration
---------------------

[](#minimum-configuration)

Fastest possible usage for PHP 5.4+ using chaining for a [fluent interface](http://en.wikipedia.org/wiki/Fluent_interface)

```
(new \Econic\Mobilant\SMS)
	->setKey('myTokenKey123')
	->setMessage('hello world')
	->setTo('0049987123456')
	->setFrom('Bob')
	->setRoute('lowcostplus')
	->send();
```

Fastest possible usage for &lt; PHP 5.4 and without using chaining

```
$mobilant = new \Econic\Mobilant\SMS();
$mobilant->setKey('myTokenKey123');
$mobilant->setMessage('hello world');
$mobilant->setTo('0049987123456');
$mobilant->setFrom('Bob');
$mobilant->setRoute('lowcostplus');
$mobilant->send();
```

Methods
-------

[](#methods)

Every setter returns the object again to enable chaining and has a respective getter

**setKey**Your app API key

**setMessage**The message of the sms

**setTo**The receiver's phone number

**setFrom**The sender name

**setRoute**The route to choose

**setCharset**The encoding of the string you pass into `setMessage()` and `setFrom()`

**setRef**The reference to save with the message

**setConcat**If the message should be concatenated when &gt; 160 chars

**setSenddate**The date to send if you want to time it for later

**setDebug**If you want to act as if you'd drop a message but don't want it to be sent

**send**Send the text message

*Returns* array with two indexes:

'success' =&gt; true if the message was sent successfully, otherwise false

'response' =&gt; An array with the data returned by the mobilant api if the message was sent successfully, otherwise null. Indexes are responsecode, message\_id, cost, count

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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 ~395 days

Total

3

Last Release

3625d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49a044b14a5262af2a120bb3ae151b1a4e9d24baa7a586420605481e552e4136?d=identicon)[econic](/maintainers/econic)

---

Top Contributors

[![econic](https://avatars.githubusercontent.com/u/1814391?v=4)](https://github.com/econic "econic (7 commits)")

---

Tags

utilitysmsmobilant

### Embed Badge

![Health badge](/badges/econic-mobilant/health.svg)

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

###  Alternatives

[nette/utils

🛠 Nette Utils: lightweight utilities for string &amp; array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.

2.1k394.3M1.5k](/packages/nette-utils)[danielstjules/stringy

A string manipulation library with multibyte support

2.4k26.0M191](/packages/danielstjules-stringy)[voku/arrayy

Array manipulation library for PHP, called Arrayy!

4875.5M16](/packages/voku-arrayy)[mage2tv/magento-cache-clean

This package has been migrated to mage-os/magento-cache-clean. Please switch over at your convenience.

5432.1M3](/packages/mage2tv-magento-cache-clean)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6233.4M58](/packages/phpcsstandards-phpcsutils)

PHPackages © 2026

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