PHPackages                             websms-com/websmscom-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. websms-com/websmscom-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

websms-com/websmscom-php
========================

A lightweight PHP-client-library for using websms.com SMS services.

v1.0.10(1y ago)277.0k↓44.7%8[1 issues](https://github.com/websms-com/websmscom-php/issues)[1 PRs](https://github.com/websms-com/websmscom-php/pulls)MITPHPPHP &gt;=5.2

Since Apr 24Pushed 1y ago3 watchersCompare

[ Source](https://github.com/websms-com/websmscom-php)[ Packagist](https://packagist.org/packages/websms-com/websmscom-php)[ RSS](/packages/websms-com-websmscom-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (7)Used By (0)

```
              W E B S M S . C O M   P H P  T O O L K I T

```

What is it?
-----------

[](#what-is-it)

A lightweight PHP-client-library for using websms.com SMS services. Reduces the complexity of network-communication between client and SMS gateway, to help business-customer save time and money for focusing on their business logic.

Installation
------------

[](#installation)

Include [WebSmsCom\_Toolkit.inc](WebSmsCom_Toolkit.inc) into your PHP File in order to access the classes and methods for sending text and binary SMS.

```
   // will need JSON.phps (Service_JSON) for PHPsend($message, $maxSmsPerMessage, $test);`

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

[](#documentation)

The documentation available as of the date of this release is included in [send\_sms.php](send_sms.php) and [WebSmsCom\_Toolkit.inc](WebSmsCom_Toolkit.inc).

FAQ
---

[](#faq)

***Question:* Why do I get a CURLOPT\_SSL\_VERIFYHOST error?**

```
 `curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead`

```

***Answer:* Just set $smsClient-&gt;setSslVerifyHost(2)**

```
   // 1.) -- create sms client (once) ------
   $smsClient = new WebSmsCom_Client($username, $pass, $gateway_url);
   $smsClient->setSslVerifyHost(2);

```

Changelog
---------

[](#changelog)

- Version 1.0.10: Added SmsCount property to WebSmsCom\_Response (thanks to AlexHoebart-ICPDR)
- Version 1.0.9: Tested functionality with PHP 8.4.3; Fixes missing class property causing deprecation note on dynamic property.
- Version 1.0.8: Tested functionality with PHP 8.0.5, removes deprecated and unnecessary defaultValue for $pass argument in WebSmsCom\_Client constructor
- Version 1.0.7: Restored compatibility to PHP 5.0.3+ (removes PHP7 style scalar type hinting)
- Version 1.0.6: Access token support
- Version 1.0.5: Composer / Packagist support
- Version 1.0.4: Throws WebSmsCom\_ParameterValidationException on json\_encode() errors to prevent body being 'null' or 'false'. Before this change an empty content body resulted in an API exception with status code 4120
- Version 1.0.3: Fixed setter setHttpClient and setSenderAddressType
- Version 1.0.2: Fixed error where long message content could not be sent because some curl/php versions set "Expect:" HTTP Header.
- Version 1.0.1: Fixed setter setMessageContent()
- Version 1.0.0: Basic text- and binary-sms-sending.

Contact
-------

[](#contact)

For any further questions into detail the contact-email is

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 84.2% 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 ~513 days

Recently: every ~576 days

Total

6

Last Release

424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56ee02e41cf5dca45ae3c28159ad4620dd128e0aa766b6c4737137752ee00eda?d=identicon)[reifi](/maintainers/reifi)

---

Top Contributors

[![reifi](https://avatars.githubusercontent.com/u/1433929?v=4)](https://github.com/reifi "reifi (16 commits)")[![mmrvka](https://avatars.githubusercontent.com/u/668957?v=4)](https://github.com/mmrvka "mmrvka (2 commits)")[![schroedan](https://avatars.githubusercontent.com/u/4107232?v=4)](https://github.com/schroedan "schroedan (1 commits)")

### Embed Badge

![Health badge](/badges/websms-com-websmscom-php/health.svg)

```
[![Health](https://phpackages.com/badges/websms-com-websmscom-php/health.svg)](https://phpackages.com/packages/websms-com-websmscom-php)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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