PHPackages                             dcs-pl/hostedsms-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. [API Development](/categories/api)
4. /
5. dcs-pl/hostedsms-php

ActiveLibrary[API Development](/categories/api)

dcs-pl/hostedsms-php
====================

HostedSMS API PHP

1.1.0(2y ago)0639↑323.3%1Apache-2.0PHPPHP &gt;=7.4

Since Oct 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/dcs-pl/hostedsms-php)[ Packagist](https://packagist.org/packages/dcs-pl/hostedsms-php)[ RSS](/packages/dcs-pl-hostedsms-php/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (1)

HostedSMS API
=============

[](#hostedsms-api)

PHP API Client HostedSMS.pl SimpleAPI and WEBSERWIS2SMS API

**[HostedSMS.pl API documentation](https://hostedsms.pl/pl/api-sms/opis-techniczny-api/)**

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

[](#requirements)

php &gt;= 7.4
composer ()

Install package with dependencies
---------------------------------

[](#install-package-with-dependencies)

`composer require dcs-pl/hostedsms-php`

SimpleApi
---------

[](#simpleapi)

#### Send SMS

[](#send-sms)

```
require 'vendor/autoload.php';
use HostedSms\SimpleApi\HostedSmsSimpleApi;

$simpleApi = new HostedSmsSimpleApi($userEmail, $password);

$response = $simpleApi->sendSms($sender, $phone, $message);
```

WebService API
--------------

[](#webservice-api)

#### Create client

[](#create-client)

```
require 'vendor/autoload.php';
use HostedSms\WebService\HostedSmsWebService;

$client = new HostedSmsWebService($userEmail, $password);
```

#### Send SMS

[](#send-sms-1)

```
$response = $client->sendSms($phone, $message, $sender, $transactionId);
```

#### Send multiple SMSes

[](#send-multiple-smses)

```
$response = $client->sendSmses($phones, $message, $sender, $transactionId);
```

#### Get all valid senders for user

[](#get-all-valid-senders-for-user)

```
$response = $client->getValidSenders();
```

#### Get delivery reports

[](#get-delivery-reports)

```
$response = $client->getDeliveryReports($messageIds);
```

#### Get unread delivery reports

[](#get-unread-delivery-reports)

```
$response = $client->getunreadDeliveryReports();
```

#### Get received smses

[](#get-received-smses)

```
$response = $client->getInputSmses($from, $to, $recipient, $markAsRead);
```

#### Get unread received smses

[](#get-unread-received-smses)

```
$response = $client->getUnreadInputSmses();
```

#### Check if phone numbers are valid

[](#check-if-phone-numbers-are-valid)

```
$response = $client->checkPhones($phones);
```

#### Convert text to GSM7

[](#convert-text-to-gsm7)

```
$response = $client->convertToGSM7($text);
```

#### Get customer info

[](#get-customer-info)

```
$response = $client->customerInfo();
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

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

Total

2

Last Release

778d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/501bc9e66dd837a11edcddb69e36fa5aaa3501b0bb3fbeedf9040130a8b6d4f0?d=identicon)[tomasz.kontusz.dcs](/maintainers/tomasz.kontusz.dcs)

![](https://avatars.githubusercontent.com/u/347507?v=4)[Pawels](/maintainers/Pawels)[@PawelS](https://github.com/PawelS)

---

Top Contributors

[![ktosiek](https://avatars.githubusercontent.com/u/278013?v=4)](https://github.com/ktosiek "ktosiek (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dcs-pl-hostedsms-php/health.svg)

```
[![Health](https://phpackages.com/badges/dcs-pl-hostedsms-php/health.svg)](https://phpackages.com/packages/dcs-pl-hostedsms-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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