PHPackages                             orajo/sms-zilla - 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. orajo/sms-zilla

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

orajo/sms-zilla
===============

PHP library for sending SMS through various gateways

v2.6.0(1y ago)23.7k3[3 issues](https://github.com/Orajo/sms-zilla/issues)1MITPHPPHP ^7.1 || ^8.0 || ^8.2

Since Aug 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Orajo/sms-zilla)[ Packagist](https://packagist.org/packages/orajo/sms-zilla)[ Docs](https://github.com/Orajo/sms-zilla)[ RSS](/packages/orajo-sms-zilla/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (19)Used By (1)

SmsZilla
========

[](#smszilla)

[![Latest Stable Version](https://camo.githubusercontent.com/160f1feafbdf93b461614f98b7f20215f96f1990a3ed590c30b8c011dc9801d7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f72616a6f2f736d732d7a696c6c612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orajo/sms-zilla)[![License](https://camo.githubusercontent.com/c5bdcc985db5da3a8442ea7ffa1231e5932fa3df0d918c7d18c80ebb9cb8c6e5/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d7265642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/orajo/sms-zilla)

PHP library for sending SMS messages using various gateways. It's simple but flexible. Allows sending for more than one recipient at a time.

Currently supported gateways:

- [SMSApi.pl](https://www.smsapi.pl/),
- [SmsCenter.pl](https://smscenter.pl/),
- [SerwerSms.pl](https://serwersms.pl/),
- [Infobip.com](http://www.infobip.com/)
- [Clickatell](https://www.clickatell.com/)
- [SmsPlanet.pl](https://smsplanet.pl/)
- [HostedSMS.pl](https://hostedsms.pl)
- [SzybkiSMS](https://szybkisms.pl)
- [Orange SMSOffnetNat](https://api.orange.pl/produktyapi.html)
- Cisco EHWIC and 880G for 3.7G (HSPA+)/3.5G (HSPA) device,
- text files generator (for gateways which monitor shared folder,
- mock (dummy gateway for testing)

The library can be easily extended to support new gateways or integrated into your application, such as filtering of recipients based on consent to receiving SMS messages.

======

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

[](#installation)

use [composer](http://getcomposer.org/)

```
{
    "require": {
        "orajo/sms-zilla": "1.*"
    }
}

```

or

```
php composer.phar require orajo/sms-zilla

```

Usage
-----

[](#usage)

```
$smsSender = new SmsZilla\SmsSender(new SmsZilla\Adapter\MockAdapter());

// default validator supports Polish numbers (PL) without country code
// others must be given with + (plus) sign and country code
// adding one recipient
$smsSender->setRecipient('605123456');
// adding more recipients (with and without country code)
$smsSender->setRecipient(['511654321', '48511654987', '+41751654987']);

// Add recipient from other then default country.
// If region is changed then country code (+41) can be ommited.
$smsSender->getValidator()->setDefaultRegion('CH');
$smsSender->setRecipient('987654321');

$smsSender->setText("Message text");
$result = $smsSender->send();
```

See tests for more examples.

See  if you need Laminas module for sending SMS. The module is based on this library.

Author
------

[](#author)

Jaroslaw Wasilewski .

License
-------

[](#license)

[MIT](http://opensource.org/licenses/MIT)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity84

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 81.1% 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 ~208 days

Recently: every ~257 days

Total

16

Last Release

440d ago

Major Versions

v1.5.2 → v2.1.02021-11-04

PHP version history (2 changes)v2.4.0PHP ^7.1 || ^8.0

v2.5.0PHP ^7.1 || ^8.0 || ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11492354?v=4)[Jarosław Wasilewski](/maintainers/Orajo)[@Orajo](https://github.com/Orajo)

---

Top Contributors

[![jwasilewski-bit](https://avatars.githubusercontent.com/u/224731308?v=4)](https://github.com/jwasilewski-bit "jwasilewski-bit (60 commits)")[![Orajo](https://avatars.githubusercontent.com/u/11492354?v=4)](https://github.com/Orajo "Orajo (13 commits)")[![DarHorr](https://avatars.githubusercontent.com/u/130851187?v=4)](https://github.com/DarHorr "DarHorr (1 commits)")

---

Tags

librarysmsInfobipsmsapiserwersmsclickatellorangesmscentersmsplanetciscoHostedSmsSzybkiSMS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/orajo-sms-zilla/health.svg)

```
[![Health](https://phpackages.com/badges/orajo-sms-zilla/health.svg)](https://phpackages.com/packages/orajo-sms-zilla)
```

###  Alternatives

[infobip/infobip-api-php-client

PHP library for consuming Infobip's API

921.8M10](/packages/infobip-infobip-api-php-client)[ismaeltoe/osms

PHP library wrapper of the Orange SMS API.

4540.0k](/packages/ismaeltoe-osms)[mediumart/orange-sms

A php library to interact with the orange sms api for MiddleEast and Africa.

1311.1k1](/packages/mediumart-orange-sms)[alexgeno/phone-verification-laravel

A library for phone verification via Laravel notification channels. Any notification channel can be used as a sender, and Redis or MongoDB can be used as a storage.

112.4k](/packages/alexgeno-phone-verification-laravel)

PHPackages © 2026

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