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

ActiveLibrary

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 6d 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 43% 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

4388d 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

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[nadar/aspsms

Simple to use sms sending class for the aspsms.com gateway.

1049.2k2](/packages/nadar-aspsms)[daixianceng/yii2-smser

Yii2 SMS extension

862.9k1](/packages/daixianceng-yii2-smser)[fotografde/cakephp-sms

SMS Plugin for CakePHP

1273.2k](/packages/fotografde-cakephp-sms)[ender/yunpian-sms

A php SDK for yunpian(云片网络短信服务商) sms RESTFULL API

294.9k](/packages/ender-yunpian-sms)

PHPackages © 2026

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