PHPackages                             tschiemer/aspsms - 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. tschiemer/aspsms

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

tschiemer/aspsms
================

Service clients for sending SMS through aspsms.com

1.1.1(12y ago)016LGPL-3.0PHPPHP &gt;=5.3.0

Since May 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/tschiemer/aspsms-php)[ Packagist](https://packagist.org/packages/tschiemer/aspsms)[ Docs](https://github.com/tschiemer/aspsms-php)[ RSS](/packages/tschiemer-aspsms/feed)WikiDiscussions master Synced 3w ago

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

aspsms-php
==========

[](#aspsms-php)

Service clients for sending SMS through aspsms.com. CodeIgniter Adapter/demo included.

Features
--------

[](#features)

- Interface abstractions for SOAP, HTTP and XML aspsms.com services
- Simple Interface for the lazy (hurray!), either for single service or composite.
- Library adapter for CodeIgniter (with extensive demo)
- Clear-ish documentation of simple interfaces

Available aspsms.com Functionality
----------------------------------

[](#available-aspsmscom-functionality)

- Sending of Text SMS
- Retrieval of delivery status
- Originator (Sender) testing and unlocking
- Token sending and validation (also see )
- Binary SMS: VCard

Requirements
------------

[](#requirements)

- PHP 5.3
- CURL Extension (iff using HTTP or XML driver)
- SOAP Extension (iff using SOAP driver)

Todos
-----

[](#todos)

- XML driver: alternating servers on failure
- XML services: sendPicture, sendLogo, sendGroupLogo, sendRingtone, sendBinaryData
- Error/Exception handling, in particular: differentiate between service fail and negative reply
- Understand: Short Message Service Centre 4.0 EMI - UCP Interface Specification Short Message Service Centre (SMSC) External Machine Interface (EMI) Description, EmiSpec\_44a.pdf

Documentation
-------------

[](#documentation)

[PHP Apigen Documentation](http://tschiemer.github.io/aspsms-php)

Sample use
----------

[](#sample-use)

Please refer to CodeIgniter Adapter for a more extended demo.

```
use \tschiemer\Aspsms as Aspsms;

require_once 'lib/tschiemer/autoload.php';

$config = array(
    'userkey'       => 'my-key',
    'password'      => 'my-password',
    'originator'    => 'my-originator'
);

$aspsms = new Aspsms\SimpleClient($config);

// Send trackable SMS
try {
    $success = $aspsms->sendText(array(
        '100' => '0041xxxxxxxx',
        '101' => '0031xxxxxxxx'
        ), 'Hello pretty!');
}
catch (Aspsms\ServiceException $e){
    die('ASPSMS service error: '.$e->getMessage());
}

if ( ! $success )
{
    $statusCode = $aspsms->getLastStatusCode();

    $statusDescription = $aspsms->getStatusDescription($statusCode);
    // or alternatively
    $statusDescription = statusDescriptionString($statusCode);

    die('Unexpected server response status '.$statusCode. ': '.$statusDescription);
}

// Get delivery information
try {
    $status = $aspsms->getDeliveryStatus(array('100','101'));
}
catch (Aspsms\ServiceException $e){
    die('ASPSMS service error: '.$e->getMessage());
}

print_r($status);

echo Aspsms\Strings::deliveryStatus($status['100']['status']);

echo Aspsms\Strings::reasonCode($status['100']['reason']);

```

Outputs

```
array(2) {
  [100]=>
  array(6) {
    [nr]=>"100",
    [status]=>"0",
    [submissionDate]=>"12022014123834",
    [deliveryDate]=>"12022014123840",
    [reason]=>"000",
    [other]=>""
  },
  [101]=>
  array(6) {
    [nr]=>"101",
    [status]=>"0",
    [submissionDate]=>"12022014123833",
    [deliveryDate]=>"12022014123838",
    [reason]=>"000",
    [other]=>""
  }
}
Delivered
Unknown subscriber

```

Revision History
----------------

[](#revision-history)

1.1.0

- PSR-0 namespace compatibility and composer/packagist registration
- minor filename/class renaming

Official Documentation
----------------------

[](#official-documentation)

[http://www.aspsms.de/vbscript\_class/doc.htm](http://www.aspsms.de/vbscript_class/doc.htm)

License: LGPL v3
----------------

[](#license-lgpl-v3)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

4433d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d79ad4137a11a083ceea4870423a2e722d48eb19ba36ab6a3e51b9476b70a28?d=identicon)[filou](/maintainers/filou)

---

Top Contributors

[![tschiemer](https://avatars.githubusercontent.com/u/3104043?v=4)](https://github.com/tschiemer "tschiemer (38 commits)")

---

Tags

smsaspsms

### Embed Badge

![Health badge](/badges/tschiemer-aspsms/health.svg)

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

###  Alternatives

[php-smpp/php-smpp

PHP-based SMPP client lib

236203.5k8](/packages/php-smpp-php-smpp)[instasent/sms-counter-php

SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.

501.4M4](/packages/instasent-sms-counter-php)[alexandr-mironov/php-smpp

PHP SMPP client lib, fork of onlinecity/php-smpp

5072.0k](/packages/alexandr-mironov-php-smpp)[benmorel/gsm-charset-converter

Converts GSM 03.38 strings to and from UTF-8

16477.7k](/packages/benmorel-gsm-charset-converter)[matthewbdaly/sms-client

A generic SMS client library. Supports multiple swappable drivers.

2293.6k2](/packages/matthewbdaly-sms-client)[midnite81/geolocation

A laravel package which wraps the IP Info DB and IP2Location Services

3725.6k](/packages/midnite81-geolocation)

PHPackages © 2026

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