PHPackages                             simonkub/laravel-sipgate-notifications - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. simonkub/laravel-sipgate-notifications

Abandoned → [laravel-notification-channels/sipgate](/?search=laravel-notification-channels%2Fsipgate)Library[Mail &amp; Notifications](/categories/mail)

simonkub/laravel-sipgate-notifications
======================================

Laravel notifications driver for sipgate.de

1.1.0(6y ago)28MITPHPPHP &gt;=7.2CI failing

Since Sep 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/simonkub/laravel-sipgate-notifications)[ Packagist](https://packagist.org/packages/simonkub/laravel-sipgate-notifications)[ Docs](https://github.com/simonkub/laravel-sipgate-notifications)[ RSS](/packages/simonkub-laravel-sipgate-notifications/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (3)Used By (0)

Laravel Notifications for sipgate \[Deprecated\]
================================================

[](#laravel-notifications-for-sipgate-deprecated)

[![Latest Version on Packagist](https://camo.githubusercontent.com/528dbdd5e5e3720fb9c6aeac46b22dbd308a7c87a8d6422ac83c6a0fcd9f7099/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73696d6f6e6b75622f6c61726176656c2d736970676174652d6e6f74696669636174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonkub/laravel-sipgate-notifications)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/1fc47d74e54dc982664c476c0f8ffd3cb57cc76525afe6f668cfeb031b44565e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f73696d6f6e6b75622f6c61726176656c2d736970676174652d6e6f74696669636174696f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/simonkub/laravel-sipgate-notifications)[![StyleCI](https://camo.githubusercontent.com/bca19ad0e9e6bacf2da47eb486dca8c8f4ad4d6173d52cab84f050595afbaf10/68747470733a2f2f7374796c6563692e696f2f7265706f732f3231303431343931392f736869656c64)](https://styleci.io/repos/210414919)[![Quality Score](https://camo.githubusercontent.com/910d55b75f8694ba06dc19b7b2ab4f9e6a48a4c2a432ea3df236b9b8c9fa763e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f73696d6f6e6b75622f6c61726176656c2d736970676174652d6e6f74696669636174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/simonkub/laravel-sipgate-notifications)[![Code Coverage](https://camo.githubusercontent.com/0ee38cdcfdceba752f28a61c8c4cc4515cb8aa6afe3b80a000d1442ba1a775f5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f73696d6f6e6b75622f6c61726176656c2d736970676174652d6e6f74696669636174696f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/simonkub/laravel-sipgate-notifications/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/5dfa996c1d3a853843530816c38e3a474c0f8973f00510ee792bed5a8541af26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73696d6f6e6b75622f6c61726176656c2d736970676174652d6e6f74696669636174696f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/simonkub/laravel-sipgate-notifications)

This package makes it easy to send notifications using [sipgate](https://sipgate.de) with Laravel 5.5+ and 6.0.

> This package was moved to another organisation. See

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the sipgate service](#setting-up-the-sipgate-service)
    - [Web SMS Extensions / SMS ID](#web-sms-extensions--sms-id)
    - [Send SMS with custom sender number](#send-sms-with-custom-sender-number)
- [Usage](#usage)
    - [Create a Notification](#create-a-notification)
    - [Add a recipient](#add-a-recipient)
    - [Sending On-Demand Notifications](#sending-on-demand-notifications)
    - [Available Message methods](#available-message-methods)
- [Common Issues](#common-issues)
    - [SMS sent successfully but no message received](#sms-sent-successfully-but-no-message-received)
    - [HTTP Errors](#http-errors)
- [Resources](#resources)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Install the package via composer:

```
composer require simonkub/laravel-sipgate-notifications
```

### Setting up the sipgate service

[](#setting-up-the-sipgate-service)

Extend `config/services.php` to read your sipgate credentials from your `.env`:

```
return [

    ...

    'sipgate' => [
        'username' => env('SIPGATE_USERNAME'),
        'password' => env('SIPGATE_PASSWORD'),
        'smsId' => env('SIPGATE_SMSID'),
        'enabled' => env('SIPGATE_NOTIFICATOINS_ENABLED', true),
    ]
];
```

Add your sipgate credentials to your `.env`:

```
SIPGATE_NOTIFICATOINS_ENABLED=true
SIPGATE_USERNAME=mail@example.com
SIPGATE_PASSWORD=1234567890
SIPGATE_SMSID=s0
```

#### Web SMS Extensions / SMS ID

[](#web-sms-extensions--sms-id)

A Web SMS extension consists of the letter 's' followed by a number (e.g. `s0`). The sipgate API uses the concept of Web SMS extensions to identify devices within your account that are enabled to send SMS. In this context the term 'device' does not necessarily refer to a hardware phone but rather a virtual connection.

You can find out what your extension is as follows:

1. Log into your [sipgate account](https://app.sipgate.com/connections/sms)
2. Use the sidebar to navigate to the **Connections** (*Anschlüsse*) tab
3. Click **SMS** (if this option is not displayed you might need to book the **Web SMS** feature from the Feature Store)
4. The URL of the page should have the form `https://app.sipgate.com/{...}/connections/sms/{smsId}` where `{smsId}` is your Web SMS extension.

#### Send SMS with custom sender number

[](#send-sms-with-custom-sender-number)

By default 'sipgate' will be used as the sender. It is only possible to change the sender to a mobile phone number by verifying ownership of said number. In order to accomplish this, proceed as follows:

1. Log into your [sipgate account](https://app.sipgate.com/connections/sms)
2. Use the sidebar to navigate to the **Connections** (*Anschlüsse*) tab
3. Click **SMS** (if this option is not displayed you might need to book the **Web SMS** feature from the Feature Store)
4. Click the gear icon on the right side of the **Caller ID** box and enter the desired sender number.
5. Proceed to follow the instructions on the website to verify the number.

Usage
-----

[](#usage)

### Create a Notification

[](#create-a-notification)

When your credentials are configured, you can use the `sipgate` channel in your notifications.

```
class ExampleNotification extends Notification
{
    public function via($notifiable)
    {
        return ['sipgate'];
    }

    public function toSipgate($notifiable)
    {
        return SipgateMessage::create('Your message goes here…');
    }
}
```

### Add a recipient

[](#add-a-recipient)

You can either choose to add the recipients number to the message itself:

```
public function toSipgate($notifiable)
{
    return SipgateMessage::create('Your message goes here…')->recipient('00491234567890');
}
```

Or add a `routeNotificationForSipgate` method to your notifiable class:

```
class User extends Authenticatable
{
    use Notifiable;

    public function routeNotificationForSipgate($notification)
    {
        return $this->phone_number;
    }
}
```

> If you define both, the message will be send to the number you defined in the message.

### Sending On-Demand Notifications

[](#sending-on-demand-notifications)

If you want to send a notification to someone who is not registered in your application, use on-demand notifications:

```
Notification::route('sipgate', '00491234567890')
            ->notify(new ExampleNotification($message));
```

### Available Message methods

[](#available-message-methods)

```
public function toSipgate($notifiable)
{
    return (new SipgateMessage('Your message goes here…'))
        ->message('…or here')
        ->recipient('00491234567890')
        ->sendAt(time() + 60)
        ->smsId('s0');
}
```

> **Optional:**In order to send a delayed message set the desired date and time in the future (up to one month):
>
> ```
> $message->sendAt(time() + 60);
> ```
>
>
>
> **Note:** The `sendAt` method accepts a [Unix timestamp](https://www.unixtimestamp.com/).

Common Issues
-------------

[](#common-issues)

#### SMS sent successfully but no message received

[](#sms-sent-successfully-but-no-message-received)

Possible reasons are:

- incorrect or mistyped phone number
- recipient phone is not connected to network
- long message text - delivery can take a little longer

#### HTTP Errors

[](#http-errors)

reasonerrorcodebad request (e.g. request body fields are empty or only contain spaces, timestamp is invalid etc.)400username and/or password are wrong401insufficient account balance402no permission to use specified SMS extension (e.g. SMS feature not booked, user password must be reset in [web app](https://app.sipgate.com/login))403internal server error or unhandled bad request (e.g. `smsId` not set)500Resources
---------

[](#resources)

- [sipgate team FAQ (DE)](https://teamhelp.sipgate.de/hc/de)
- [sipgate basic FAQ (DE)](https://basicsupport.sipgate.de/hc/de)

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Simon Kubiak](https://github.com/simonkub)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2417d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c30329b0046f85b50703ccd1ce89b86863abc33ea1d8cf5d6947958410b25d48?d=identicon)[simonkub](/maintainers/simonkub)

---

Top Contributors

[![simonkub](https://avatars.githubusercontent.com/u/16416949?v=4)](https://github.com/simonkub "simonkub (40 commits)")

---

Tags

laravelnotificationssipgatesmslaravelnotificationssipgate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simonkub-laravel-sipgate-notifications/health.svg)

```
[![Health](https://phpackages.com/badges/simonkub-laravel-sipgate-notifications/health.svg)](https://phpackages.com/packages/simonkub-laravel-sipgate-notifications)
```

###  Alternatives

[laravel-notification-channels/telegram

Telegram Notifications Channel for Laravel

1.1k3.4M35](/packages/laravel-notification-channels-telegram)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[benwilkins/laravel-fcm-notification

Laravel FCM (Firebase Cloud Messaging) Notification Channel

210964.1k1](/packages/benwilkins-laravel-fcm-notification)[laravel-notification-channels/rocket-chat

Rocket.Chat Notifications channel for Laravel 5.6+

1345.5k](/packages/laravel-notification-channels-rocket-chat)

PHPackages © 2026

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