PHPackages                             fazland/skebby-rest-client - 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. fazland/skebby-rest-client

ActiveLibrary[API Development](/categories/api)

fazland/skebby-rest-client
==========================

Unofficial Skebby Rest Client

0.3.0(5y ago)711.1k6[2 issues](https://github.com/fazland/skebby-rest-client/issues)2MITPHPPHP &gt;=7.0CI failing

Since Oct 26Pushed 5y ago3 watchersCompare

[ Source](https://github.com/fazland/skebby-rest-client)[ Packagist](https://packagist.org/packages/fazland/skebby-rest-client)[ RSS](/packages/fazland-skebby-rest-client/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)Dependencies (12)Versions (7)Used By (2)

Skebby Rest Client
==================

[](#skebby-rest-client)

[![Test](https://github.com/fazland/skebby-rest-client/actions/workflows/test.yml/badge.svg)](https://github.com/fazland/skebby-rest-client/actions/workflows/test.yml)[![codecov](https://camo.githubusercontent.com/d0b9eebc88ac8938b6fbe4eb3badb12d8d90b1d43db4faba9dee1f01efffe3aa/68747470733a2f2f636f6465636f762e696f2f67682f66617a6c616e642f736b656262792d726573742d636c69656e742f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d61673237577a48424746)](https://codecov.io/gh/fazland/skebby-rest-client)

Fazland's Skebby Rest Client is an unofficial PHP Rest Client for the italian SMS GatewayProvider [Skebby](http://www.skebby.it).

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

[](#requirements)

- `php` &gt;= 7.4
- `php xml extension`
- `symfony/options-resolver`
- `giggsey/libphonenumber-for-php` &gt;= 8.0

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

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
$ composer require fazland/skebby-rest-client
```

Using Skebby Rest Client
------------------------

[](#using-skebby-rest-client)

It's really simple. First of all, configuration!

### Configuration

[](#configuration)

The mandatory configuration parameters are:

- `username`
- `password`
- `sender`
- `method`

Just create a `Client` object passing to the constructor the parameters as an array:

```
$this->skebbyRestClient = new Client([
    'username' => 'your_username',
    'password' => 'your_password',
    'sender' => '+393333333333',
    'method' => SendMethods::CLASSIC,
    'encoding_scheme' => EncodingSchemas::NORMAL,  // Optional
    'charset' => Charsets::UTF8,                   // Optional
    'endpoint_uri' => 'https://gateway.skebby.it/api/send/smseasy/advanced/rest.php' // (default)
]);
```

You can also set default values for `delivery_start` and `validity_period`, thus they can be overridden by the Sms object

### Creating SMS:

[](#creating-sms)

To create an SMS just follow the example:

```
Sms::create()
    ->setRecipients([
        '+393473322444',
        '+393910000000'
    ])
    ->setRecipientVariables('+393473322444', [
        'name' => 'Mario',
        'quest' => 'Go and rescue Peach, Bowser kidnapped her!'
    ])
    ->setRecipientVariables('+393910000000', [
        'name' => 'Luigi',
        'quest' => 'Help Mario, Bowser is really bad!!'
    ])
    ->setText('Hey ${name}! ${quest}')
;
```

### Send SMS!

[](#send-sms)

Just use the `Client::send(Sms $sms)` method to send sms!

```
$client->send($sms);
```

### Note:

[](#note)

A single client will send SMS through the method you specified in configuration. If you want to send it through another method, just create a new client.

### Events

[](#events)

You can leverage your preferred event system, as long as it implements [PSR-14](https://www.php-fig.org/psr/psr-14/). Just pass your dispatcher as third argument of Client constructor:

```
$dispatcher = new EventDispatcher();    // any dispatcher implementing EventDispatcherInterface
$options = [/* .. */];  // see above for detailed options
$this->skebbyRestClient = new Client($options, null, $dispatcher);
```

Each time an SMS is sent, a `\Fazland\SkebbyRestClient\Event\SmsMessageEvent` will be dispatched.

Test
----

[](#test)

Run

```
$ vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Contributions are welcome. Feel free to open a PR or file an issue here on GitHub!

License
-------

[](#license)

Skebby Rest Client is licensed under the MIT License - see the [LICENSE](https://github.com/fazland/skebby-rest-client/blob/master/LICENSE) file for details

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.8% 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 ~400 days

Total

5

Last Release

1936d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.5.0

0.2.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/73dd7f3bebd03ec946b6b12359141ea461b770c3671acac4e8004e3c2d78e78f?d=identicon)[alekitto](/maintainers/alekitto)

![](https://www.gravatar.com/avatar/2ec273e505eac80af12ad5fb33f5111af2b9805f41cb50c598f6d36426331d8c?d=identicon)[massimilianobraglia](/maintainers/massimilianobraglia)

---

Top Contributors

[![alekitto](https://avatars.githubusercontent.com/u/1257206?v=4)](https://github.com/alekitto "alekitto (10 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (5 commits)")[![AntonioNigro](https://avatars.githubusercontent.com/u/8393290?v=4)](https://github.com/AntonioNigro "AntonioNigro (1 commits)")[![massimilianobraglia](https://avatars.githubusercontent.com/u/17158942?v=4)](https://github.com/massimilianobraglia "massimilianobraglia (1 commits)")

---

Tags

php-libraryrest-clientskebby

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fazland-skebby-rest-client/health.svg)

```
[![Health](https://phpackages.com/badges/fazland-skebby-rest-client/health.svg)](https://phpackages.com/packages/fazland-skebby-rest-client)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[symfony/rate-limiter

Provides a Token Bucket implementation to rate limit input and output in your application

27054.3M290](/packages/symfony-rate-limiter)

PHPackages © 2026

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